summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/regression/bin/sh/errors/bad-keyword1.02
-rw-r--r--tools/regression/bin/sh/execution/func3.02
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/bin/sh/errors/bad-keyword1.0 b/tools/regression/bin/sh/errors/bad-keyword1.0
index 1abc158..ac01536 100644
--- a/tools/regression/bin/sh/errors/bad-keyword1.0
+++ b/tools/regression/bin/sh/errors/bad-keyword1.0
@@ -1,4 +1,4 @@
# $FreeBSD$
-echo ':; fi' | sh -n 2>/dev/null && exit 1
+echo ':; fi' | ${SH} -n 2>/dev/null && exit 1
exit 0
diff --git a/tools/regression/bin/sh/execution/func3.0 b/tools/regression/bin/sh/execution/func3.0
index f7a562a..e0ed581 100644
--- a/tools/regression/bin/sh/execution/func3.0
+++ b/tools/regression/bin/sh/execution/func3.0
@@ -3,5 +3,5 @@
# This may fail when parsing or when defining the function, or the definition
# may silently do nothing. In no event may the function be executed.
-sh -c 'unset() { echo overriding function executed, bad; }; v=1; unset v; exit "${v-0}"' 2>/dev/null
+${SH} -c 'unset() { echo overriding function executed, bad; }; v=1; unset v; exit "${v-0}"' 2>/dev/null
:
OpenPOWER on IntegriCloud