aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2014-09-29 14:38:56 +0200
committerGrégoire Duchêne <gduchene@awhk.org>2014-09-29 14:38:56 +0200
commit5d3d357c39412d2e429668adb04c0b894729e158 (patch)
tree55e8d018092c1d04ac89ada96167ceabcfabfd51
parent5610135f48d9674fc17c3b89cd73dc68e477f6c9 (diff)
Do not indiscriminately delete test outputs
-rwxr-xr-xrun_tests.sh2
1 files changed, 1 insertions, 1 deletions
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))