From 2cc13c3e1f7046cbb23d5f1edc19f85f01e9df6e Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Sun, 9 Jun 2013 18:33:40 +0000 Subject: added --print-files --- tests/crawl-test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') 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")" -- cgit v1.2.3