diff options
Diffstat (limited to 'shell/hush_test/run-all')
-rwxr-xr-x | shell/hush_test/run-all | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/shell/hush_test/run-all b/shell/hush_test/run-all index cde841e66..ee8327f0d 100755 --- a/shell/hush_test/run-all +++ b/shell/hush_test/run-all | |||
@@ -38,16 +38,16 @@ do_test() | |||
38 | tret=0 | 38 | tret=0 |
39 | cd "$1" || { echo "cannot cd $1!"; exit 1; } | 39 | cd "$1" || { echo "cannot cd $1!"; exit 1; } |
40 | for x in run-*; do | 40 | for x in run-*; do |
41 | test -f "$x" || continue | 41 | test -f "$x" || continue |
42 | case "$x" in | 42 | case "$x" in |
43 | "$0"|run-minimal|run-gprof) ;; | 43 | "$0"|run-minimal|run-gprof) ;; |
44 | *.orig|*~) ;; | 44 | *.orig|*~) ;; |
45 | #*) echo $x ; sh $x ;; | 45 | #*) echo $x ; sh $x ;; |
46 | *) | 46 | *) |
47 | sh "$x" >"../$1-$x.fail" 2>&1 && \ | 47 | sh "$x" >"../$1-$x.fail" 2>&1 && \ |
48 | { echo "$1/$x: ok"; rm "../$1-$x.fail"; } || echo "$1/$x: fail"; | 48 | { echo "$1/$x: ok"; rm "../$1-$x.fail"; } || echo "$1/$x: fail"; |
49 | ;; | 49 | ;; |
50 | esac | 50 | esac |
51 | done | 51 | done |
52 | # Many bash run-XXX scripts just do this, | 52 | # Many bash run-XXX scripts just do this, |
53 | # no point in duplication it all over the place | 53 | # no point in duplication it all over the place |