remove ((expr)) bash'ism
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 28 Mar 2009 19:31:34 +0000 (19:31 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 28 Mar 2009 19:31:34 +0000 (19:31 -0000)
shell/hush_test/run-all

index b5db79f6c47347a23d1d4f27d74b4e3c0f60df73..d7602c8908004c7146af21685f26e9e5c988b017 100755 (executable)
@@ -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}
     )