]> git.cworth.org Git - notmuch/commitdiff
test/cli: Add reproducer for the spurious warning about uuid.
authorDavid Bremner <david@tethera.net>
Sun, 6 Jul 2025 10:33:35 +0000 (07:33 -0300)
committerDavid Bremner <david@tethera.net>
Thu, 15 Jan 2026 22:20:36 +0000 (07:20 +0900)
As reported by "lh" on IRC.

test/T570-revision-tracking.sh

index bcc97dd9396305c7b984d156e575bdde87198804..5242711d799f3d74a21b3b1d3fe56f16569e4999 100755 (executable)
@@ -63,6 +63,11 @@ test_expect_success "notmuch --uuid=$(cat UUID) search '*'"
 test_begin_subtest "uuid works as global option II"
 test_expect_code 1 "notmuch --uuid=this-is-no-uuid search '*'"
 
+test_begin_subtest "no warning from uuid as global option"
+test_subtest_known_broken
+notmuch --uuid=$(cat UUID) search '*' 1>OUTPUT 2>ERROR
+test_expect_equal_file /dev/null ERROR
+
 test_begin_subtest "search fails with incorrect uuid"
 test_expect_code 1 "notmuch search --uuid=this-is-no-uuid '*'"