diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2014-09-29 14:38:56 +0200 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2014-09-29 14:38:56 +0200 |
| commit | 5d3d357c39412d2e429668adb04c0b894729e158 (patch) | |
| tree | 55e8d018092c1d04ac89ada96167ceabcfabfd51 | |
| parent | 5610135f48d9674fc17c3b89cd73dc68e477f6c9 (diff) | |
Do not indiscriminately delete test outputs
| -rwxr-xr-x | run_tests.sh | 2 |
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)) |
