blob d77e2b2bc0d9971614341501e03f7d8bd557e25b 1269 bytes (raw)
name: test/qparser # 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
| | #!/bin/bash
test_description="query parser"
. ./test-lib.sh
EXPECTED=../qparser.expected-output
test_begin_subtest "Quoted phrases"
output=$(../qparser-test < $EXPECTED/quoted-phrases)
expected=$(cat $EXPECTED/quoted-phrases)
test_expect_equal "$output" "$expected"
test_begin_subtest "Prefixes"
output=$(../qparser-test < $EXPECTED/prefixes)
expected=$(cat $EXPECTED/prefixes)
test_expect_equal "$output" "$expected"
test_begin_subtest "Terms"
output=$(../qparser-test < $EXPECTED/terms)
expected=$(cat $EXPECTED/terms)
test_expect_equal "$output" "$expected"
test_begin_subtest "Operators"
output=$(../qparser-test < $EXPECTED/operators)
expected=$(cat $EXPECTED/operators)
test_expect_equal "$output" "$expected"
test_begin_subtest "Near and adj"
output=$(../qparser-test < $EXPECTED/near-and-adj)
expected=$(cat $EXPECTED/near-and-adj)
test_expect_equal "$output" "$expected"
test_begin_subtest "Probs"
output=$(../qparser-test < $EXPECTED/probs)
expected=$(cat $EXPECTED/probs)
test_expect_equal "$output" "$expected"
add_message '[body]="Peter Piper picked a peck of pickled peppers"'
test_begin_subtest "Wildcards"
output=$(../qparser-test -d < $EXPECTED/wildcards)
expected=$(cat $EXPECTED/wildcards)
test_expect_equal "$output" "$expected"
test_done
|
debug log:
solving d77e2b2 ...
found d77e2b2 in https://yhetil.org/notmuch/20110121064003.GK13226@mit.edu/
found 7ed5c97 in https://yhetil.org/notmuch/20110121063902.GJ13226@mit.edu/
found 0e7b022 in https://yhetil.org/notmuch/20110121063714.GI13226@mit.edu/
applying [1/3] https://yhetil.org/notmuch/20110121063714.GI13226@mit.edu/
diff --git a/test/qparser b/test/qparser
new file mode 100755
index 0000000..0e7b022
applying [2/3] https://yhetil.org/notmuch/20110121063902.GJ13226@mit.edu/
diff --git a/test/qparser b/test/qparser
index 0e7b022..7ed5c97 100755
applying [3/3] https://yhetil.org/notmuch/20110121064003.GK13226@mit.edu/
diff --git a/test/qparser b/test/qparser
index 7ed5c97..d77e2b2 100755
Checking patch test/qparser...
Applied patch test/qparser cleanly.
Checking patch test/qparser...
Applied patch test/qparser cleanly.
Checking patch test/qparser...
Applied patch test/qparser cleanly.
index at:
100755 d77e2b2bc0d9971614341501e03f7d8bd557e25b test/qparser
(*) 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).