From 5d3d357c39412d2e429668adb04c0b894729e158 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Mon, 29 Sep 2014 14:38:56 +0200 Subject: Do not indiscriminately delete test outputs --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index dcfa7ef..8d6e75b 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -13,7 +13,7 @@ for input in *.ml; do if ../tamasheq -denv -o "$tmp" "$input" > "$output" 2>&1; then if cmp -s "$expected" "$output"; then printf "%-20s\tSUCCESS\n" "$name" >&2 - rm "$tmp"/* + rm "$tmp/$name"* else printf "%-20s\tFAILURE\n" "$name" >&2 failure_count=$((failure_count + 1)) -- cgit v1.2.3-70-g09d2