]> git.notmuchmail.org Git - notmuch/blobdiff - test/dump-restore
notmuch-dump: deprecate use of output file argument.
[notmuch] / test / dump-restore
index e7edd9b2573df7fc43e8a2565513c341202e4579..de8569387edf3e1253b4a08c29eada49bfbe3b4d 100755 (executable)
@@ -12,6 +12,10 @@ test_begin_subtest "dump outfile"
 notmuch dump dump-outfile.actual
 test_expect_equal_file dump.expected dump-outfile.actual
 
+test_begin_subtest "dump outfile # deprecated"
+test_expect_equal "Warning: the output file argument of dump is deprecated."\
+  "$(notmuch dump /dev/null 2>&1)"
+
 test_begin_subtest "dump outfile --"
 notmuch dump dump-1-arg-dash.actual --
 test_expect_equal_file dump.expected dump-1-arg-dash.actual