Add regression tests for PR 105078.
This commit is contained in:
parent
d02f26394e
commit
5d1b410c9d
7
tools/regression/bin/sh/errors/bad-parm-exp1.0
Normal file
7
tools/regression/bin/sh/errors/bad-parm-exp1.0
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
false && {
|
||||
${}
|
||||
${foo/}
|
||||
${foo@bar}
|
||||
}
|
||||
:
|
2
tools/regression/bin/sh/errors/bad-parm-exp2.2
Normal file
2
tools/regression/bin/sh/errors/bad-parm-exp2.2
Normal file
@ -0,0 +1,2 @@
|
||||
# $FreeBSD$
|
||||
${}
|
1
tools/regression/bin/sh/errors/bad-parm-exp2.2.stderr
Normal file
1
tools/regression/bin/sh/errors/bad-parm-exp2.2.stderr
Normal file
@ -0,0 +1 @@
|
||||
./errors/bad-parm-exp2.2: ${}: Bad substitution
|
2
tools/regression/bin/sh/errors/bad-parm-exp3.2
Normal file
2
tools/regression/bin/sh/errors/bad-parm-exp3.2
Normal file
@ -0,0 +1,2 @@
|
||||
# $FreeBSD$
|
||||
${foo/}
|
1
tools/regression/bin/sh/errors/bad-parm-exp3.2.stderr
Normal file
1
tools/regression/bin/sh/errors/bad-parm-exp3.2.stderr
Normal file
@ -0,0 +1 @@
|
||||
./errors/bad-parm-exp3.2: ${foo/}: Bad substitution
|
2
tools/regression/bin/sh/errors/bad-parm-exp4.2
Normal file
2
tools/regression/bin/sh/errors/bad-parm-exp4.2
Normal file
@ -0,0 +1,2 @@
|
||||
# $FreeBSD$
|
||||
${foo:@abc}
|
1
tools/regression/bin/sh/errors/bad-parm-exp4.2.stderr
Normal file
1
tools/regression/bin/sh/errors/bad-parm-exp4.2.stderr
Normal file
@ -0,0 +1 @@
|
||||
./errors/bad-parm-exp4.2: ${foo:@...}: Bad substitution
|
2
tools/regression/bin/sh/errors/bad-parm-exp5.2
Normal file
2
tools/regression/bin/sh/errors/bad-parm-exp5.2
Normal file
@ -0,0 +1,2 @@
|
||||
# $FreeBSD$
|
||||
${/}
|
1
tools/regression/bin/sh/errors/bad-parm-exp5.2.stderr
Normal file
1
tools/regression/bin/sh/errors/bad-parm-exp5.2.stderr
Normal file
@ -0,0 +1 @@
|
||||
./errors/bad-parm-exp5.2: ${/}: Bad substitution
|
Loading…
Reference in New Issue
Block a user