summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxxc3nsoredxx <xxc3ncoredxx@gmail.com>2021-05-07 23:06:57 -0500
committerRasmus Thomsen <oss@cogitri.dev>2021-06-01 14:25:32 +0200
commit5c2ccafc8c5ded392292aabe2bf31eb4f72a63b5 (patch)
tree2115b51d9a392c03b3cca182aa01da7f6e3b7ff5
parent9f9dd78d5e4c30f685454c320835bfce8115290f (diff)
downloadwgetpaste-5c2ccafc8c5ded392292aabe2bf31eb4f72a63b5.tar.gz
Explicitly test DL_DIR/*.txt
DL_DIR/* tries to diff error logs with the test data if they exist.
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
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