opnsense-src/tools/regression/bin/sh/set-e
Jilles Tjoelker c06336d428 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
..
and1.0
and2.1
and3.0
and4.0
background1.0
cmd1.0
cmd2.1
elif1.0 sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
elif2.0 sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
eval1.0 Add tests for r193169. 2009-05-31 17:23:27 +00:00
eval2.1 Add tests for r193169. 2009-05-31 17:23:27 +00:00
for1.0 - Add tests for hash and return and more tests for set -e. 2005-09-05 09:42:10 +00:00
func1.0 - Add tests for hash and return and more tests for set -e. 2005-09-05 09:42:10 +00:00
func2.1 - Add tests for hash and return and more tests for set -e. 2005-09-05 09:42:10 +00:00
if1.0 sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
if2.0
if3.0 sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
not1.0
not2.0 Add tests for r193169. 2009-05-31 17:23:27 +00:00
or1.0
or2.0
or3.1
pipe1.1
pipe2.0
return1.0 Simplify and add PR 77067 which addresses the same bug. 2005-09-04 21:29:09 +00:00
semi1.1
semi2.1
subshell1.0
subshell2.1
until1.0
until2.0
until3.0 - Add tests for hash and return and more tests for set -e. 2005-09-05 09:42:10 +00:00
while1.0 sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
while2.0 sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
while3.0 - Add tests for hash and return and more tests for set -e. 2005-09-05 09:42:10 +00:00