diff options
-rwxr-xr-x | tests/custom/run_tests.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/custom/run_tests.sh b/tests/custom/run_tests.sh index fb92379..96ac783 100755 --- a/tests/custom/run_tests.sh +++ b/tests/custom/run_tests.sh @@ -105,6 +105,8 @@ run_testcase() { printf "%d\n" $? > "$dir/res.code" touch "$dir/empty" + sed -i -e "s#$dir#.#g" "$dir/res.out" "$dir/res.err" + if ! cmp -s "$dir/res.err" "${err:-$dir/empty}"; then [ $fail = 0 ] && printf "!\n" printf "Testcase #%d: Expected stderr did not match:\n" $num |