aboutsummaryrefslogtreecommitdiff
path: root/test/T240-dump-restore.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-03-28 08:09:02 -0300
committerDavid Bremner <david@tethera.net>2017-03-31 21:18:54 -0300
commitc0a3bd956af91d08d95a993f4fd971a617a5517b (patch)
tree03ee81bba71f2aa4cde52bec06add13f0601ecf5 /test/T240-dump-restore.sh
parente1c1d33f3726f5cadb2f92d23735dcd1102fbc88 (diff)
test: add known broken test for dump header
Apparently nobody uses the list of "what was included in the dump"
Diffstat (limited to 'test/T240-dump-restore.sh')
-rwxr-xr-xtest/T240-dump-restore.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/T240-dump-restore.sh b/test/T240-dump-restore.sh
index 206c3ae1..f626a19e 100755
--- a/test/T240-dump-restore.sh
+++ b/test/T240-dump-restore.sh
@@ -2,6 +2,14 @@
test_description="\"notmuch dump\" and \"notmuch restore\""
. ./test-lib.sh || exit 1
+NOTMUCH_NEW > /dev/null
+test_begin_subtest "dump header"
+test_subtest_known_broken
+cat <<EOF > EXPECTED
+#notmuch-dump batch-tag:2 config,properties,tags
+EOF
+notmuch dump > OUTPUT
+test_expect_equal_file EXPECTED OUTPUT
add_email_corpus
test_begin_subtest "Dumping all tags"