]> git.draconx.ca Git - liblbx.git/commit
tests: Remove toplevel set -e usage.
authorNick Bowler <nbowler@draconx.ca>
Thu, 23 Jan 2014 01:06:27 +0000 (20:06 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 23 Jan 2014 03:12:17 +0000 (22:12 -0500)
commitabebb179629944e7c956857be2f6d6705fb33309
treed807cfab34cc169933ff778a0a2ac12367a11f72
parentba19b133bf87936dc606dd994f56f433a278b768
tests: Remove toplevel set -e usage.

Using set -e at the top level affects the entire script and makes it
difficult to work with commands that may legitimately return an error.
Regardless, set -e is still not so great for error checks because it
has some incredibly non-obvious semantics.

Better to just have correct error checks everywhere.  Fortunately, this
is the case for almost all the existing test code -- only the testdir
creation needs fixing.
tests/util/test-init.sh