From e5947b5ec0c3dbd2573ed47277223bd3479dea7c Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 6 Aug 2009 15:58:26 -0600 Subject: [PATCH] remove bashism from test.sh --- test/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.sh b/test/test.sh index fd028e39f0..55b4ff54a6 100644 --- a/test/test.sh +++ b/test/test.sh @@ -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"