Browse Source

Solaris does not allow POSIX-compliant evaluation in sh

pull/184/head
Dagobert Michelsen 10 years ago
parent
commit
f569cf4341
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/test-defs.sh

+ 2
- 2
tests/test-defs.sh View File

@@ -41,7 +41,7 @@ esac

rm -rf "$testsubdir" > /dev/null 2>&1
mkdir -p "$testsubdir"
CURDIR=$(pwd)
CURDIR=`pwd`
cd "$testsubdir" \
|| { echo "Cannot make or change into $testsubdir"; exit 1; }

@@ -50,7 +50,7 @@ echo "=== Running test $progname"
CMP="${CMP-cmp}"

use_valgrind=${USE_VALGRIND-1}
valgrind_path=$(which valgrind 2> /dev/null)
valgrind_path=`which valgrind 2> /dev/null`
if [ -z "${valgrind_path}" -o ! -x "${valgrind_path}" ] ; then
use_valgrind=0
fi


Loading…
Cancel
Save