]> gitweb.ps.run Git - ps-cgit/commit
tests/setup.sh: allow testsuite to fail properly with POSIX standard shells
authorLars Hjemli <hjemli@gmail.com>
Sat, 6 Dec 2008 11:03:54 +0000 (12:03 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sat, 6 Dec 2008 11:03:54 +0000 (12:03 +0100)
commitb6faa78091a1340b73e291f1f87604f246d3f391
treeb6a7d2ee0fd9bc8ab2c6346dd30a49244f401e1c
parent2755af6e29801ea10b5d7be6a0a5635ba3bc9660
tests/setup.sh: allow testsuite to fail properly with POSIX standard shells

The "((expr))" construct is not implemented by e.g. dash, so this commit
replaces the construct with a more portable one.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
tests/setup.sh