diff options
Diffstat (limited to 'tools')
9 files changed, 19 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/errors/bad-parm-exp1.0 b/tools/regression/bin/sh/errors/bad-parm-exp1.0 new file mode 100644 index 0000000..6e94994 --- /dev/null +++ b/tools/regression/bin/sh/errors/bad-parm-exp1.0 @@ -0,0 +1,7 @@ +# $FreeBSD$ +false && { + ${} + ${foo/} + ${foo@bar} +} +: diff --git a/tools/regression/bin/sh/errors/bad-parm-exp2.2 b/tools/regression/bin/sh/errors/bad-parm-exp2.2 new file mode 100644 index 0000000..7e13d2b --- /dev/null +++ b/tools/regression/bin/sh/errors/bad-parm-exp2.2 @@ -0,0 +1,2 @@ +# $FreeBSD$ +${} diff --git a/tools/regression/bin/sh/errors/bad-parm-exp2.2.stderr b/tools/regression/bin/sh/errors/bad-parm-exp2.2.stderr new file mode 100644 index 0000000..d027a5a --- /dev/null +++ b/tools/regression/bin/sh/errors/bad-parm-exp2.2.stderr @@ -0,0 +1 @@ +./errors/bad-parm-exp2.2: ${}: Bad substitution diff --git a/tools/regression/bin/sh/errors/bad-parm-exp3.2 b/tools/regression/bin/sh/errors/bad-parm-exp3.2 new file mode 100644 index 0000000..a5ecba5 --- /dev/null +++ b/tools/regression/bin/sh/errors/bad-parm-exp3.2 @@ -0,0 +1,2 @@ +# $FreeBSD$ +${foo/} diff --git a/tools/regression/bin/sh/errors/bad-parm-exp3.2.stderr b/tools/regression/bin/sh/errors/bad-parm-exp3.2.stderr new file mode 100644 index 0000000..ef40251 --- /dev/null +++ b/tools/regression/bin/sh/errors/bad-parm-exp3.2.stderr @@ -0,0 +1 @@ +./errors/bad-parm-exp3.2: ${foo/}: Bad substitution diff --git a/tools/regression/bin/sh/errors/bad-parm-exp4.2 b/tools/regression/bin/sh/errors/bad-parm-exp4.2 new file mode 100644 index 0000000..9eec8d0 --- /dev/null +++ b/tools/regression/bin/sh/errors/bad-parm-exp4.2 @@ -0,0 +1,2 @@ +# $FreeBSD$ +${foo:@abc} diff --git a/tools/regression/bin/sh/errors/bad-parm-exp4.2.stderr b/tools/regression/bin/sh/errors/bad-parm-exp4.2.stderr new file mode 100644 index 0000000..89bd80f --- /dev/null +++ b/tools/regression/bin/sh/errors/bad-parm-exp4.2.stderr @@ -0,0 +1 @@ +./errors/bad-parm-exp4.2: ${foo:@...}: Bad substitution diff --git a/tools/regression/bin/sh/errors/bad-parm-exp5.2 b/tools/regression/bin/sh/errors/bad-parm-exp5.2 new file mode 100644 index 0000000..459281f --- /dev/null +++ b/tools/regression/bin/sh/errors/bad-parm-exp5.2 @@ -0,0 +1,2 @@ +# $FreeBSD$ +${/} diff --git a/tools/regression/bin/sh/errors/bad-parm-exp5.2.stderr b/tools/regression/bin/sh/errors/bad-parm-exp5.2.stderr new file mode 100644 index 0000000..89b1997 --- /dev/null +++ b/tools/regression/bin/sh/errors/bad-parm-exp5.2.stderr @@ -0,0 +1 @@ +./errors/bad-parm-exp5.2: ${/}: Bad substitution |