aboutsummaryrefslogtreecommitdiff
path: root/scripts/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runtest.sh')
-rw-r--r--scripts/runtest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runtest.sh b/scripts/runtest.sh
index 0c933c2c..875ce572 100644
--- a/scripts/runtest.sh
+++ b/scripts/runtest.sh
@@ -83,7 +83,7 @@ testing()
echo -ne "$3" > expected
echo -ne "$4" > input
- echo -ne "$5" | eval "$2" > actual
+ echo -ne "$5" | ${EVAL:-eval} "$2" > actual
RETVAL=$?
# Catch segfaults
@@ -98,7 +98,7 @@ testing()
if [ -n "$VERBOSE" ]
then
[ ! -z "$4" ] && echo "echo -ne \"$4\" > input"
- echo "echo -ne '$5' | $2"
+ echo "echo -ne '$5' |$EVAL $2"
diff -au expected actual
[ "$VERBOSE" == fail ] && exit 1
fi