]> git.notmuchmail.org Git - notmuch/blobdiff - test/T150-tagging.sh
dump: make dump take Xapian write lock
[notmuch] / test / T150-tagging.sh
index dc118f331ff054ac53476a7221e1d9f42a35d987..45471ac8de72962937761873c81b1f6bcb229609 100755 (executable)
@@ -247,8 +247,8 @@ ${TEST_DIRECTORY}/random-corpus --config-path=${NOTMUCH_CONFIG} \
 notmuch dump --format=batch-tag | sed 's/^.* -- /+common_tag -- /' | \
     sort > EXPECTED
 
-notmuch dump --format=batch-tag | sed 's/^.* -- /  -- /' | \
-    notmuch restore --format=batch-tag
+notmuch dump --format=batch-tag | sed 's/^.* -- /  -- /' > INTERMEDIATE_STEP
+notmuch restore --format=batch-tag < INTERMEDIATE_STEP
 
 notmuch tag --batch < EXPECTED