summaryrefslogtreecommitdiffstats
path: root/tools/regression/bin/sh/execution/set-x1.0
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bin/sh/execution/set-x1.0')
-rw-r--r--tools/regression/bin/sh/execution/set-x1.08
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/execution/set-x1.0 b/tools/regression/bin/sh/execution/set-x1.0
new file mode 100644
index 0000000..7fe1dbf
--- /dev/null
+++ b/tools/regression/bin/sh/execution/set-x1.0
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+key='must_contain_this'
+{ r=`set -x; { : "$key"; } 2>&1 >/dev/null`; } 2>/dev/null
+case $r in
+*"$key"*) true ;;
+*) false ;;
+esac
OpenPOWER on IntegriCloud