summary refs log tree commit diff
path: root/bin/1sh/tests/parser/set-v1.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/parser/set-v1.08
-rw-r--r--bin/1sh/tests/parser/set-v1.0.stderr5
2 files changed, 13 insertions, 0 deletions
diff --git a/bin/1sh/tests/parser/set-v1.0 b/bin/1sh/tests/parser/set-v1.0
new file mode 100644
index 00000000..eb985e6b
--- /dev/null
+++ b/bin/1sh/tests/parser/set-v1.0
@@ -0,0 +1,8 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/parser/set-v1.0 295937 2016-02-23 22:44:01Z jilles $
+
+${SH} <<\EOF
+echo one >&2
+set -v
+echo two >&2
+echo three >&2
+EOF
diff --git a/bin/1sh/tests/parser/set-v1.0.stderr b/bin/1sh/tests/parser/set-v1.0.stderr
new file mode 100644
index 00000000..d904fa5f
--- /dev/null
+++ b/bin/1sh/tests/parser/set-v1.0.stderr
@@ -0,0 +1,5 @@
+one
+echo two >&2
+two
+echo three >&2
+three