]> git.cworth.org Git - notmuch/blobdiff - test/T240-dump-restore.sh
cli/dump: convert to new config framework
[notmuch] / test / T240-dump-restore.sh
index 0870ff921f1e1642359fe088fff7f0e9ef8a3e63..da7502c99a1ddcca4aa3a6aa5f80b8821d3f3395 100755 (executable)
@@ -322,6 +322,7 @@ EOF
 
 test_expect_equal_file EXPECTED OUTPUT
 
+backup_database
 test_begin_subtest 'roundtripping random message-ids and tags'
 
     ${TEST_DIRECTORY}/random-corpus --config-path=${NOTMUCH_CONFIG} \
@@ -338,7 +339,7 @@ test_begin_subtest 'roundtripping random message-ids and tags'
         sort > OUTPUT.$test_count
 
 test_expect_equal_file EXPECTED.$test_count OUTPUT.$test_count
+restore_database
 
 test_done
 
-# Note the database is "poisoned" for sup format at this point.