remove bashism from test.sh

This commit is contained in:
Joel Dice 2009-08-06 15:58:26 -06:00
parent 3e0c0c8116
commit e5947b5ec0

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
log=build/log.txt
vg="nice valgrind --leak-check=full --num-callers=32 \
@ -28,7 +28,7 @@ for test in ${tests}; do
exit 1;;
esac
if (( ${?} == 0 )); then
if [ "${?}" = "0" ]; then
echo "success"
else
echo "fail"