diff options
author | jilles <jilles@FreeBSD.org> | 2011-03-07 23:52:23 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2011-03-07 23:52:23 +0000 |
commit | 28c75d673cd3bd32c3ec740c5e2a352d5c7ff8a5 (patch) | |
tree | 0c5fb639c2771324baa41da5a84f53cce91e581c /usr.sbin | |
parent | c0ee0d94ddc48e7f23ba167ac55c7785a943f23c (diff) | |
download | FreeBSD-src-28c75d673cd3bd32c3ec740c5e2a352d5c7ff8a5.zip FreeBSD-src-28c75d673cd3bd32c3ec740c5e2a352d5c7ff8a5.tar.gz |
sh: Test that . /dev/null returns exit status 0 and does not preserve $?.
Preserving $? may cause problems particularly if set -e is in effect.
It may be useful to preserve the old value of $? in the dot script but this
must not be implemented in such a way that it would break this test.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions