blob 1a6ba61f1371377e62f97d518c3b6fa90bf66175 542 bytes (raw)
name: test/T760-implicit-operators.sh # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| | #!/usr/bin/env bash
test_description='implicit operators in query parser'
. $(dirname "$0")/test-lib.sh || exit 1
test_AND() {
add_message "[$1]=a@b"
add_message "[$1]=b@c"
test_begin_subtest "$1: implicitly joined by AND"
$2
notmuch count $1:a@b > OUTPUT
notmuch count $1:a $1:b >> OUTPUT
notmuch count $1:a@b OR $1:b@c >> OUTPUT
notmuch count $1:a@b $1:b@c >> OUTPUT
cat <<EOF > EXPECTED
1
1
2
0
EOF
test_expect_equal_file EXPECTED OUTPUT
}
test_AND from
test_AND subject
test_AND to
test_done
|
debug log:
solving 1a6ba61f ...
found 1a6ba61f in https://yhetil.org/notmuch/20190821114126.23540-3-david@tethera.net/
found b79673df in https://yhetil.org/notmuch/20190821114126.23540-2-david@tethera.net/
applying [1/2] https://yhetil.org/notmuch/20190821114126.23540-2-david@tethera.net/
diff --git a/test/T760-implicit-operators.sh b/test/T760-implicit-operators.sh
new file mode 100755
index 00000000..b79673df
applying [2/2] https://yhetil.org/notmuch/20190821114126.23540-3-david@tethera.net/
diff --git a/test/T760-implicit-operators.sh b/test/T760-implicit-operators.sh
index b79673df..1a6ba61f 100755
Checking patch test/T760-implicit-operators.sh...
Applied patch test/T760-implicit-operators.sh cleanly.
Checking patch test/T760-implicit-operators.sh...
Applied patch test/T760-implicit-operators.sh cleanly.
index at:
100755 1a6ba61f1371377e62f97d518c3b6fa90bf66175 test/T760-implicit-operators.sh
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).