This website requires JavaScript.
Explore
Help
Sign In
d
/
freebsd-dev
Watch
1
Star
0
Fork
0
You've already forked freebsd-dev
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
bd0891ceb3
freebsd-dev
/
bin
/
sh
/
tests
/
set-e
/
elif2.0
8 lines
67 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add a couple of regression tests for /bin/sh.
2005-09-04 11:59:59 +00:00
# $FreeBSD$
set -e
if false; then
sh: Get rid of unnecessary non-standard empty lists. POSIX does not allow constructs like: if cmd; then fi { } Add a colon dummy command, except in a test that verifies that such empty lists do not cause crashes when used as a function definition.
2010-08-16 17:18:08 +00:00
:
Add a couple of regression tests for /bin/sh.
2005-09-04 11:59:59 +00:00
elif false; false; then
sh: Get rid of unnecessary non-standard empty lists. POSIX does not allow constructs like: if cmd; then fi { } Add a colon dummy command, except in a test that verifies that such empty lists do not cause crashes when used as a function definition.
2010-08-16 17:18:08 +00:00
:
Add a couple of regression tests for /bin/sh.
2005-09-04 11:59:59 +00:00
fi
Reference in New Issue
Copy Permalink