X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=test%2FT035-read-config.sh;h=205d1736fd9a4a74786e5c28cc5feb036dc71407;hb=0d3bef312dd624225825e6fe175ea8830c1c9e39;hp=102aea60e86aa6c4ef3d19cce409547696e61b8d;hpb=5ef731f1aa0aa3d8fc89d1e724c021dbed8d4418;p=notmuch diff --git a/test/T035-read-config.sh b/test/T035-read-config.sh index 102aea60..205d1736 100755 --- a/test/T035-read-config.sh +++ b/test/T035-read-config.sh @@ -461,4 +461,18 @@ output=$(notmuch count '*') restore_config test_expect_equal "52" "$output" +test_begin_subtest "run notmuch-new (xdg)" +xdg_config +generate_message +output=$(NOTMUCH_NEW --debug) +restore_config +test_expect_equal "$output" "Added 1 new message to the database." + +test_begin_subtest "run notmuch-new (xdg + profile)" +xdg_config ${RANDOM} +generate_message +output=$(NOTMUCH_NEW --debug) +restore_config +test_expect_equal "$output" "Added 1 new message to the database." + test_done