diff options
| author | David Bremner <david@tethera.net> | 2020-08-26 07:54:10 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-02-06 19:12:34 -0400 |
| commit | 53f27aaf73192babf831e907ade71dc16f6880be (patch) | |
| tree | 5d94f90a144e50a33222cfdff5e0c54ae20ab820 /test/T240-dump-restore.sh | |
| parent | acc6331baa41a8aa7025924c823251d8f8c3384f (diff) | |
cli/dump: convert to new config framework
This conversion is trivial because the only configuration information
accessed by dump is that stored in the database (in order to dump
it). We do need to be careful to keep the write lock on the database
to ensure dump consistency.
Diffstat (limited to 'test/T240-dump-restore.sh')
| -rwxr-xr-x | test/T240-dump-restore.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/T240-dump-restore.sh b/test/T240-dump-restore.sh index 0870ff92..da7502c9 100755 --- a/test/T240-dump-restore.sh +++ b/test/T240-dump-restore.sh @@ -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. |
