X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fdump-restore;h=de8569387edf3e1253b4a08c29eada49bfbe3b4d;hp=e7edd9b2573df7fc43e8a2565513c341202e4579;hb=53b397acfcd6b6372372593cc9047ee1a9599afd;hpb=09beff1def1daa9887679723205855ff7da8a297 diff --git a/test/dump-restore b/test/dump-restore index e7edd9b2..de856938 100755 --- a/test/dump-restore +++ b/test/dump-restore @@ -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