aboutsummaryrefslogtreecommitdiff
path: root/test/maildir-sync
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2012-08-04 09:55:45 -0300
committerDavid Bremner <bremner@debian.org>2012-08-06 08:52:45 -0300
commit19c824c3fd7be29a2257cdd530ee23074c978d63 (patch)
treee40c6eddaffc3bf20646572f1802bfa068d87fdc /test/maildir-sync
parent760e17488e6b11299f2971cf879b109b84816d14 (diff)
notmuch-restore: replace positional argument for input with option
Since notmuch dump doesn't use positional arguments anymore, it seems better to be consistent.
Diffstat (limited to 'test/maildir-sync')
-rwxr-xr-xtest/maildir-sync2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/maildir-sync b/test/maildir-sync
index 0914fa5..0fc742a 100755
--- a/test/maildir-sync
+++ b/test/maildir-sync
@@ -126,7 +126,7 @@ 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 --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"