Add tests for r193169.
This commit is contained in:
parent
1f7fcb28e6
commit
912ee8a8a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193178
9
tools/regression/bin/sh/builtins/eval1.0
Normal file
9
tools/regression/bin/sh/builtins/eval1.0
Normal file
@ -0,0 +1,9 @@
|
||||
# $FreeBSD$
|
||||
set -e
|
||||
|
||||
eval
|
||||
eval "" ""
|
||||
eval "true"
|
||||
! eval "false
|
||||
|
||||
"
|
3
tools/regression/bin/sh/set-e/eval1.0
Normal file
3
tools/regression/bin/sh/set-e/eval1.0
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
set -e
|
||||
eval false || true
|
4
tools/regression/bin/sh/set-e/eval2.1
Normal file
4
tools/regression/bin/sh/set-e/eval2.1
Normal file
@ -0,0 +1,4 @@
|
||||
# $FreeBSD$
|
||||
set -e
|
||||
eval false
|
||||
exit 0
|
@ -1,3 +1,4 @@
|
||||
# $FreeBSD$
|
||||
set -e
|
||||
! false
|
||||
! eval false
|
||||
|
Loading…
Reference in New Issue
Block a user