tests: workaround for shells with broken 'set -e'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 12 Feb 2012 17:03:08 +0000 (18:03 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 12 Feb 2012 17:03:29 +0000 (18:03 +0100)
commitdae8578ed1fbdff7e60e4bb069700182d5ede6a5
tree445aadca668ca91383c2867f3f38f4b31794fdfe
parent19bab32531bc8c41e984460a2fa59205ecb623cd
tests: workaround for shells with broken 'set -e'

* tests/dist-formats.tap: Some versions of the BSD shell wrongly
bail out when the 'errexit' shell flag is active and the left-hand
command in a "&&" list fails and that list is the *last* command
of a "case" statement.  This was causing an incorrect initialization
of the '$missing_compressors' variable, and thus potential spurious
failures when non-existing programs were assumed to be available.
tests/dist-formats.tap