summary refs log tree commit diff
path: root/bin/1sh/tests/errors/bad-parm-exp6.2
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/errors/bad-parm-exp6.22
-rw-r--r--bin/1sh/tests/errors/bad-parm-exp6.2.stderr1
2 files changed, 3 insertions, 0 deletions
diff --git a/bin/1sh/tests/errors/bad-parm-exp6.2 b/bin/1sh/tests/errors/bad-parm-exp6.2
new file mode 100644
index 00000000..c58ea713
--- /dev/null
+++ b/bin/1sh/tests/errors/bad-parm-exp6.2
@@ -0,0 +1,2 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/errors/bad-parm-exp6.2 270101 2014-08-17 14:26:12Z jilles $
+eval '${#foo^}'
diff --git a/bin/1sh/tests/errors/bad-parm-exp6.2.stderr b/bin/1sh/tests/errors/bad-parm-exp6.2.stderr
new file mode 100644
index 00000000..cc56f65b
--- /dev/null
+++ b/bin/1sh/tests/errors/bad-parm-exp6.2.stderr
@@ -0,0 +1 @@
+eval: ${foo...}: Bad substitution