X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT055-path-config.sh;fp=test%2FT055-path-config.sh;h=fb5174ac58d8532a411e733ff2ec9ff7992d9c2a;hp=f9a8e2004695801249fb9bb73df3c30281937115;hb=74c3cc03c219f1046d2672ef686c91b3a7f8b806;hpb=c82554193d0a0c288ad49e3d4fb8c949b92f71fa diff --git a/test/T055-path-config.sh b/test/T055-path-config.sh index f9a8e200..fb5174ac 100755 --- a/test/T055-path-config.sh +++ b/test/T055-path-config.sh @@ -167,6 +167,16 @@ On Tue, 05 Jan 2010 15:43:56 -0000, Sender wrote: > basic reply test EOF test_expect_equal_file EXPECTED OUTPUT + test_begin_subtest "insert+search ($config)" + generate_message \ + "[subject]=\"insert-subject\"" \ + "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" \ + "[body]=\"insert-message\"" + mkdir -p "$MAIL_DIR"/{cur,new,tmp} + notmuch insert < "$gen_msg_filename" + cur_msg_filename=$(notmuch search --output=files "subject:insert-subject") + test_expect_equal_file "$cur_msg_filename" "$gen_msg_filename" + restore_config done