diff options
Diffstat (limited to 'shell/hush_test/run-all')
-rwxr-xr-x | shell/hush_test/run-all | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/hush_test/run-all b/shell/hush_test/run-all index 64a7abc47..837b3f7da 100755 --- a/shell/hush_test/run-all +++ b/shell/hush_test/run-all | |||
@@ -64,11 +64,12 @@ do_test() | |||
64 | echo -n "$1/$x:" | 64 | echo -n "$1/$x:" |
65 | ( | 65 | ( |
66 | "$THIS_SH" "./$x" >"$name.xx" 2>&1 | 66 | "$THIS_SH" "./$x" >"$name.xx" 2>&1 |
67 | r=$? | ||
67 | # filter C library differences | 68 | # filter C library differences |
68 | sed -i \ | 69 | sed -i \ |
69 | -e "/: invalid option /s:'::g" \ | 70 | -e "/: invalid option /s:'::g" \ |
70 | "$name.xx" | 71 | "$name.xx" |
71 | test $? -eq 77 && rm -f "../$1-$x.fail" && exit 77 | 72 | test $r -eq 77 && rm -f "../$1-$x.fail" && exit 77 |
72 | diff -u "$name.xx" "$name.right" >"../$1-$x.fail" && rm -f "$name.xx" "../$1-$x.fail" | 73 | diff -u "$name.xx" "$name.right" >"../$1-$x.fail" && rm -f "$name.xx" "../$1-$x.fail" |
73 | ) | 74 | ) |
74 | case $? in | 75 | case $? in |