X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT035-read-config.sh;h=102aea60e86aa6c4ef3d19cce409547696e61b8d;hp=6dc7ccbbacd9fb0ddddb8884f888991600aac0f7;hb=f118ef3c3db0a01479a505ba85a34879d8e0dede;hpb=5232462dcfe77e6af475c9dd1a25513c43af53f3 diff --git a/test/T035-read-config.sh b/test/T035-read-config.sh index 6dc7ccbb..102aea60 100755 --- a/test/T035-read-config.sh +++ b/test/T035-read-config.sh @@ -447,4 +447,18 @@ EOF restore_config test_expect_equal_file EXPECTED OUTPUT +test_begin_subtest "running compact (xdg)" +xdg_config +notmuch compact +output=$(notmuch count '*') +restore_config +test_expect_equal "52" "$output" + +test_begin_subtest "running compact (xdg + profile)" +xdg_config ${RANDOM} +notmuch compact +output=$(notmuch count '*') +restore_config +test_expect_equal "52" "$output" + test_done