freebsd-nq/bin/sh/tests/builtins/set3.0
Jilles Tjoelker 6dbe471130 sh: Add test for 'set -o nolog'.
The option does not do anything so check that the output of 'set +o' is
different.
2016-03-09 21:05:21 +00:00

5 lines
108 B
Plaintext

# $FreeBSD$
settings1=$(set +o) && set -o nolog && settings2=$(set +o) &&
[ "$settings1" != "$settings2" ]