From 5c2ccafc8c5ded392292aabe2bf31eb4f72a63b5 Mon Sep 17 00:00:00 2001 From: xxc3nsoredxx Date: Fri, 7 May 2021 23:06:57 -0500 Subject: Explicitly test DL_DIR/*.txt DL_DIR/* tries to diff error logs with the test data if they exist. --- test/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.sh b/test/test.sh index fa4abc2..5aacdd4 100755 --- a/test/test.sh +++ b/test/test.sh @@ -78,7 +78,7 @@ if [ "$DL_COUNT" -eq 0 ]; then fi # Compare downloaded files -for dl_file in "$DL_DIR"/*; do +for dl_file in "$DL_DIR"/*.txt; do echo -n "Testing file $dl_file: " # Ignore missing trailing newline in downloaded file if ! (diff -q -Z "$TEST_FILE" "$dl_file" &>/dev/null); then -- cgit v1.2.3