]> rtime.felk.cvut.cz Git - notmuch.git/commit
test: add function die () and have use of it in add_email_corpus ()
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 28 May 2016 12:39:29 +0000 (15:39 +0300)
committerDavid Bremner <david@tethera.net>
Sat, 11 Jun 2016 16:03:09 +0000 (13:03 -0300)
commitd53b417d1f5935a924b0f0127e64750c8448ac3a
tree06e0051336955ff8007bff81e6688b09e3fa82f1
parent1ca752fa362e7c245d88b6cc742d178824f2a50c
test: add function die () and have use of it in add_email_corpus ()

Added die() function to test-lib.sh with the following first use of it:

If notmuch new fails during email corpus addition the database is
most probably inexistent or broken and the added corpus would be
unusable while running single tests, giving misleading failures
("only" full 'make test' cleans out old corpus).
test/test-lib.sh