]> git.notmuchmail.org Git - notmuch/blobdiff - test/T560-lib-error.sh
doc/reply: Clarify how reply-to header is handled
[notmuch] / test / T560-lib-error.sh
index 1ef4ff23a37f1e30a69c878d8d81b67e01339e97..59a479c849e998f16c7a08abd5d7b43ec83169a4 100755 (executable)
@@ -3,16 +3,6 @@ test_description="error reporting for library"
 
 . ./test-lib.sh || exit 1
 
-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
-}
-
-
 add_email_corpus
 
 test_expect_success "building database" "NOTMUCH_NEW"
@@ -193,7 +183,7 @@ int main (int argc, char** argv)
 EOF
 cat <<'EOF' >EXPECTED
 == stdout ==
-Path already exists: CWD/mail
+Path already exists: MAIL_DIR
 
 == stderr ==
 EOF