sh: Add test for 'set -o nolog'.
The option does not do anything so check that the output of 'set +o' is different.
This commit is contained in:
parent
e1e2ce9e63
commit
6e5195ef20
@ -140,6 +140,7 @@ FILES+= return7.4
|
||||
FILES+= return8.0
|
||||
FILES+= set1.0
|
||||
FILES+= set2.0
|
||||
FILES+= set3.0
|
||||
FILES+= trap1.0
|
||||
FILES+= trap10.0
|
||||
FILES+= trap11.0
|
||||
|
4
bin/sh/tests/builtins/set3.0
Normal file
4
bin/sh/tests/builtins/set3.0
Normal file
@ -0,0 +1,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
settings1=$(set +o) && set -o nolog && settings2=$(set +o) &&
|
||||
[ "$settings1" != "$settings2" ]
|
Loading…
Reference in New Issue
Block a user