updated regression test scripts for old /bin/sh

This commit is contained in:
hyung-hwan 2009-09-09 01:43:38 +00:00
parent d70bc70ded
commit 417d901dad
2 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ test)
;;
leakcheck)
bin_valgrind="`which valgrind 2> /dev/null || echo ""`"
[ -z "${bin_valgrind}" ] && {
[ -n "${bin_valgrind}" -a -f "${bin_valgrind}" ] || {
echo_so "valgrind not found. cannot perform this test"
exit 1
}

View File

@ -117,7 +117,7 @@ test)
;;
leakcheck)
bin_valgrind="`which valgrind 2> /dev/null || echo ""`"
[ -z "${bin_valgrind}" ] && {
[ -n "${bin_valgrind}" -a -f "${bin_valgrind}" ] || {
echo_so "valgrind not found. cannot perform this test"
exit 1
}