]> git.cworth.org Git - notmuch/commitdiff
test: add known broken test for incorrect error message
authorDavid Bremner <david@tethera.net>
Sun, 3 Dec 2023 15:41:11 +0000 (11:41 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 6 Dec 2023 11:33:05 +0000 (07:33 -0400)
Duplicate bug reported in id:87wmtvcor5.fsf@alyssa.is

The error message is nonsense, because notmuch config list actually
includes the database in those two cases.

test/T055-path-config.sh

index efc79e8b089ddcb4abe107136c8412f4e89c5f01..fcaf09d326b461c7f0b4997e5031c620f548a851 100755 (executable)
@@ -374,6 +374,12 @@ EOF
           notmuch new
           test_expect_equal "$(xapian-metadata get ${XAPIAN_PATH} version)" 3
           ;;
+       home_mail|maildir_env)
+          test_begin_subtest "No errors from config list ($config)"
+          test_subtest_known_broken
+          notmuch config list 2>OUTPUT 1>/dev/null
+          test_expect_equal_file /dev/null OUTPUT
+          ;;
        *)
           backup_database
           test_begin_subtest ".notmuch without xapian/ handled gracefully ($config)"