aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/tests/errors
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2015-08-23 20:44:53 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2015-08-23 20:44:53 +0000
commitd0b0ac182d9e0714511300b9750eba708817b293 (patch)
tree7649da2c39f43e98eb79a974979a3f8d15039d3a /bin/sh/tests/errors
parent786e3c1bacccd8746a004cd10e2cc11748a761a2 (diff)
Notes
Diffstat (limited to 'bin/sh/tests/errors')
-rw-r--r--bin/sh/tests/errors/Makefile2
-rw-r--r--bin/sh/tests/errors/bad-parm-exp7.04
-rw-r--r--bin/sh/tests/errors/bad-parm-exp8.04
3 files changed, 10 insertions, 0 deletions
diff --git a/bin/sh/tests/errors/Makefile b/bin/sh/tests/errors/Makefile
index ace9a01ccd7d3..51a766f6f4e9c 100644
--- a/bin/sh/tests/errors/Makefile
+++ b/bin/sh/tests/errors/Makefile
@@ -19,6 +19,8 @@ FILES+= bad-parm-exp3.2 bad-parm-exp3.2.stderr
FILES+= bad-parm-exp4.2 bad-parm-exp4.2.stderr
FILES+= bad-parm-exp5.2 bad-parm-exp5.2.stderr
FILES+= bad-parm-exp6.2 bad-parm-exp6.2.stderr
+FILES+= bad-parm-exp7.0
+FILES+= bad-parm-exp8.0
FILES+= option-error.0
FILES+= redirection-error.0
FILES+= redirection-error2.2
diff --git a/bin/sh/tests/errors/bad-parm-exp7.0 b/bin/sh/tests/errors/bad-parm-exp7.0
new file mode 100644
index 0000000000000..b8562fbed47b8
--- /dev/null
+++ b/bin/sh/tests/errors/bad-parm-exp7.0
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+v=1
+eval ": $(printf '${v-${\372}}')"
diff --git a/bin/sh/tests/errors/bad-parm-exp8.0 b/bin/sh/tests/errors/bad-parm-exp8.0
new file mode 100644
index 0000000000000..28f00cde0f9f5
--- /dev/null
+++ b/bin/sh/tests/errors/bad-parm-exp8.0
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+v=1
+eval ": $(printf '${v-${w\372}}')"