Add regression tests for PR 105078.

This commit is contained in:
stefanf 2006-11-05 18:41:23 +00:00
parent d02f26394e
commit 5d1b410c9d
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