diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-09 18:33:40 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-09 18:33:40 +0000 |
commit | 2cc13c3e1f7046cbb23d5f1edc19f85f01e9df6e (patch) | |
tree | c24894954b39ddcaed0ad0da8f65dfe7bfad71ad /tests | |
parent | 5584e1364063ad815d1f723b4049cbd70612c495 (diff) |
added --print-files
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/crawl-test.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/crawl-test.sh b/tests/crawl-test.sh index 440fd16..f41a320 100755 --- a/tests/crawl-test.sh +++ b/tests/crawl-test.sh @@ -66,7 +66,7 @@ function start-crawl { --debug) verbose=1 ;; - --no-purge|--summary) + --no-purge|--summary|--print-files) ;; --errors|--files|--found|--not-found|--directory) pos=$[${pos}+1] @@ -125,6 +125,9 @@ function start-crawl { --summary) grep -E "^HTTrack Website Copier/[^ ]* mirror complete in " "${tmp}/hts-log.txt" ;; + --print-files) + find "${tmp}" -type f -mindepth 1 + ;; --errors) shift assert_equals "checking errors" "$1" "$(grep -iEc "^[0-9\:]*[[:space:]]Error:" "${tmp}/hts-log.txt")" |