]> git.notmuchmail.org Git - notmuch/blobdiff - test/T560-lib-error.sh
cli: change the data structure for notmuch address deduplication
[notmuch] / test / T560-lib-error.sh
index b1e77aa0ee3878506d5136050376ed2d2c6f4a75..c280939c54fab4cc83e5aa29a09dbaf0342bdc41 100755 (executable)
@@ -1,17 +1,7 @@
 #!/usr/bin/env bash
 test_description="error reporting for library"
 
-. ./test-lib.sh
-
-backup_database () {
-    rm -rf notmuch-dir-backup
-    cp -pR ${MAIL_DIR}/.notmuch notmuch-dir-backup
-}
-restore_database () {
-    rm -rf ${MAIL_DIR}/.notmuch
-    cp -pR notmuch-dir-backup ${MAIL_DIR}/.notmuch
-}
-
+. ./test-lib.sh || exit 1
 
 add_email_corpus