diff options
author | David Bremner <bremner@debian.org> | 2011-10-10 10:44:07 -0300 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-10-16 19:59:53 -0300 |
commit | 53b397acfcd6b6372372593cc9047ee1a9599afd (patch) | |
tree | 9b21752fbb517d64413e27ba3457472f592174ae /test/dump-restore | |
parent | 09beff1def1daa9887679723205855ff7da8a297 (diff) |
notmuch-dump: deprecate use of output file argument.
We print an intentionally non-specific message on stderr, since it
isn't clear if there will be some global output file argument to
replace.
We update the test suite atomically, since it relies on having the
same text in two files.
Diffstat (limited to 'test/dump-restore')
-rwxr-xr-x | test/dump-restore | 4 |
1 files changed, 4 insertions, 0 deletions
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 |