diff options
| author | David Bremner <david@tethera.net> | 2025-07-06 07:33:35 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2026-01-16 07:20:36 +0900 |
| commit | 1778a1a385000f53e4376d3586b4a522b977157f (patch) | |
| tree | 96932386379b2eba14bbe4d84171b2ceffc6a203 | |
| parent | 97a2bad36a35399681f6c5f5a2b4390e6429d5ae (diff) | |
test/cli: Add reproducer for the spurious warning about uuid.
As reported by "lh" on IRC.
| -rwxr-xr-x | test/T570-revision-tracking.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/T570-revision-tracking.sh b/test/T570-revision-tracking.sh index bcc97dd9..5242711d 100755 --- a/test/T570-revision-tracking.sh +++ b/test/T570-revision-tracking.sh @@ -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 '*'" |
