aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-03-28 19:31:34 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-03-28 19:31:34 +0000
commite61f07f03661b8e75a54e50d8a2c948c0e215531 (patch)
tree2b451f39d5322a85ca47fb7ffc9d134df419662f
parent701ac1864b9c562a6b8a84bad0261a03f494f114 (diff)
downloadbusybox-w32-e61f07f03661b8e75a54e50d8a2c948c0e215531.tar.gz
busybox-w32-e61f07f03661b8e75a54e50d8a2c948c0e215531.tar.bz2
busybox-w32-e61f07f03661b8e75a54e50d8a2c948c0e215531.zip
remove ((expr)) bash'ism
-rwxr-xr-xshell/hush_test/run-all2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush_test/run-all b/shell/hush_test/run-all
index b5db79f6c..d7602c890 100755
--- a/shell/hush_test/run-all
+++ b/shell/hush_test/run-all
@@ -49,7 +49,7 @@ do_test()
49 { 49 {
50 "$THIS_SH" "./$x" >"$name.xx" 2>&1 50 "$THIS_SH" "./$x" >"$name.xx" 2>&1
51 diff -u "$name.xx" "$name.right" >"../$1-$x.fail" && rm -f "$name.xx" "../$1-$x.fail" 51 diff -u "$name.xx" "$name.right" >"../$1-$x.fail" && rm -f "$name.xx" "../$1-$x.fail"
52 } && echo "$1/$x: ok" || { echo "$1/$x: fail"; ((tret+=1)); } 52 } && echo "$1/$x: ok" || { echo "$1/$x: fail"; tret=1; }
53 done 53 done
54 exit ${tret} 54 exit ${tret}
55 ) 55 )