]> git.notmuchmail.org Git - notmuch/commit
test: Emit a friendly error message if run with bash < 4.0.
authorCarl Worth <cworth@cworth.org>
Thu, 28 Oct 2010 19:07:42 +0000 (12:07 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 28 Oct 2010 19:07:42 +0000 (12:07 -0700)
commit20018a0c094f576589ea82d5ca5116dfd3c0ea55
treec3fbadba2f961d2448c3019520936e2c945c7454
parent4884f5496caa2cdc8749c5eefbdc264373403f22
test: Emit a friendly error message if run with bash < 4.0.

The bash code in the test suite is using associative arrays which were
only added to bash as of release 4.0.

If the test suite is run with an older bash, we now immediately error
out and explain the situation, (instead of emitting confusing error
messages and failing dozens of tests, which is what happened before
this change).
test/notmuch-test
test/test-lib.sh