]> rtime.felk.cvut.cz Git - notmuch.git/commitdiff
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)
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).


No differences found