From e61f07f03661b8e75a54e50d8a2c948c0e215531 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 28 Mar 2009 19:31:34 +0000 Subject: [PATCH] remove ((expr)) bash'ism --- shell/hush_test/run-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { "$THIS_SH" "./$x" >"$name.xx" 2>&1 diff -u "$name.xx" "$name.right" >"../$1-$x.fail" && rm -f "$name.xx" "../$1-$x.fail" - } && echo "$1/$x: ok" || { echo "$1/$x: fail"; ((tret+=1)); } + } && echo "$1/$x: ok" || { echo "$1/$x: fail"; tret=1; } done exit ${tret} )