mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
test: make regexp test conditional on field processors
Normally we'd mark it broken, but perversely missing regexp support actually makes the test pass.
This commit is contained in:
parent
c6ba5522a5
commit
c846e15ffe
1 changed files with 5 additions and 1 deletions
|
@ -48,7 +48,11 @@ notmuch search --output=files subject:'"message 2"' | notmuch_dir_sanitize > OUT
|
|||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest 'Regexp search for second subject'
|
||||
# Note that missing field processor support really means the test
|
||||
# doesn't make sense, but it happens to pass.
|
||||
if [ $NOTMUCH_HAVE_XAPIAN_FIELD_PROCESSOR -eq 1 ]; then
|
||||
test_subtest_known_broken
|
||||
fi
|
||||
cat <<EOF >EXPECTED
|
||||
MAIL_DIR/copy0
|
||||
MAIL_DIR/copy1
|
||||
|
|
Loading…
Reference in a new issue