Add regression tests for PR 105078.

This commit is contained in:
Stefan Farfeleder 2006-11-05 18:41:23 +00:00
parent 62addaefc9
commit 44c892dac2
9 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# $FreeBSD$
false && {
${}
${foo/}
${foo@bar}
}
:

View file

@ -0,0 +1,2 @@
# $FreeBSD$
${}

View file

@ -0,0 +1 @@
./errors/bad-parm-exp2.2: ${}: Bad substitution

View file

@ -0,0 +1,2 @@
# $FreeBSD$
${foo/}

View file

@ -0,0 +1 @@
./errors/bad-parm-exp3.2: ${foo/}: Bad substitution

View file

@ -0,0 +1,2 @@
# $FreeBSD$
${foo:@abc}

View file

@ -0,0 +1 @@
./errors/bad-parm-exp4.2: ${foo:@...}: Bad substitution

View file

@ -0,0 +1,2 @@
# $FreeBSD$
${/}

View file

@ -0,0 +1 @@
./errors/bad-parm-exp5.2: ${/}: Bad substitution