X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT050-new.sh;h=ffa303efaceca99cdc7c0d6cbf75a83f6184bb1d;hp=2bc799d2e2bcb513afecb42940a108ca00720541;hb=b6f87c3085e25e5bf65a4f956af8846bc0681c52;hpb=71f1228a518f08e94dc1ea4e2147f80d3484c615 diff --git a/test/T050-new.sh b/test/T050-new.sh index 2bc799d2..ffa303ef 100755 --- a/test/T050-new.sh +++ b/test/T050-new.sh @@ -286,8 +286,8 @@ notmuch config set new.tags "-foo;bar" output=$(NOTMUCH_NEW --debug 2>&1) test_expect_equal "$output" "Error: tag '-foo' in new.tags: tag starting with '-' forbidden" -test_expect_code 1 "Invalid tags set exit code" \ - "NOTMUCH_NEW --debug 2>&1" +test_begin_subtest "Invalid tags set exit code" +test_expect_code 1 "NOTMUCH_NEW --debug 2>&1" notmuch config set new.tags $OLDCONFIG @@ -317,7 +317,7 @@ end run EOF -gdb --batch-silent --return-child-result -x notmuch-new-vanish.gdb \ +${TEST_GDB} --batch-silent --return-child-result -x notmuch-new-vanish.gdb \ --args notmuch new 2>OUTPUT 1>/dev/null echo "exit status: $?" >> OUTPUT