]> git.cworth.org Git - notmuch/blobdiff - test/T080-search.sh
CLI/search+address: support sexpr queries
[notmuch] / test / T080-search.sh
index a3f0dead1420239fd654c89ea04531d1ee141729..9bda1eb9f4e4597eb0f64cad3272c0260941dac0 100755 (executable)
@@ -189,4 +189,11 @@ test_begin_subtest "parts do not have adjacent term positions"
 output=$(notmuch search id:termpos and '"c x"')
 test_expect_equal "$output" ""
 
+if [[ NOTMUCH_HAVE_SFSEXP = 1 ]]; then
+    test_begin_subtest "sexpr query: all messages"
+    notmuch search '*' > EXPECTED
+    notmuch search --query=sexp '()' > OUTPUT
+    test_expect_equal_file EXPECTED OUTPUT
+fi
+
 test_done