Use the unofficial bash strict mode for the test scripts
commit49f8dc705694436cb0529d6c1464ea5dd2a6d725
authorJonas Fonseca <jonas.fonseca@gmail.com>
Wed, 27 Aug 2014 01:26:28 +0000 (26 21:26 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Wed, 27 Aug 2014 01:45:45 +0000 (26 21:45 -0400)
tree2afffc57b397a17877b9204573614d8e7de370eb
parent1766e765432096efc9cfcc33a003389b4bb51535
Use the unofficial bash strict mode for the test scripts

Based on http://redsymbol.net/articles/unofficial-bash-strict-mode/ the
strict mode makes the tests error out when a command exits with a
non-zero code--even for commands part of a pipe. In addition errors are
reported for references to undefined variables.
test/tools/libgit.sh
test/tools/libtest.sh
test/tools/show-results.sh