summaryrefslogtreecommitdiffstats
path: root/regress/test-exec.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r--regress/test-exec.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index debe7e3a..98851dc9 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -30,7 +30,7 @@ if [ ! -f $SCRIPT ]; then
echo "not a file: $SCRIPT"
exit 2
fi
-if sh -n $SCRIPT; then
+if $TEST_SHELL -n $SCRIPT; then
true
else
echo "syntax error in $SCRIPT"