X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fmaildir-sync;h=0fc742a419bac7aacb69a762399bda4b11c745fd;hb=02853e983926af73ecbaf57592d132a717ed70ad;hp=cd7d2418384dd3a9258b8a717e9f8daeb5cfaa14;hpb=624d1897ce70fde8a41f2ea245db2a5e27f16ce1;p=notmuch diff --git a/test/maildir-sync b/test/maildir-sync index cd7d2418..0fc742a4 100755 --- a/test/maildir-sync +++ b/test/maildir-sync @@ -124,9 +124,9 @@ mv $MAIL_DIR/cur/adding-replied-tag:2,RS $MAIL_DIR/cur/adding-replied-tag:2,S mv $MAIL_DIR/cur/adding-s-flag:2,S $MAIL_DIR/cur/adding-s-flag:2, mv $MAIL_DIR/cur/adding-with-s-flag:2,S $MAIL_DIR/cur/adding-with-s-flag:2,RS mv $MAIL_DIR/cur/message-to-move-to-cur:2,S $MAIL_DIR/cur/message-to-move-to-cur:2,DS -notmuch dump dump.txt +notmuch dump --output=dump.txt NOTMUCH_NEW >/dev/null -notmuch restore dump.txt +notmuch restore --input=dump.txt output=$(ls $MAIL_DIR/cur) test_expect_equal "$output" "$expected"