]> git.notmuchmail.org Git - notmuch/blobdiff - test/thread-order
test: basic: drop 'ensure all available tests are run'
[notmuch] / test / thread-order
index 47f25c86df326845a9be04d8cd218901a92dc92c..6c3a4b3f70a2b85124075e8696fc72ef061f2a12 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 test_description="threading when messages received out of order"
 . ./test-lib.sh
 
@@ -8,7 +8,7 @@ output=$(NOTMUCH_NEW)
 test_expect_equal "$output" "Added 1 new message to the database."
 
 test_begin_subtest "Searching returns the message"
-output=$($NOTMUCH search foo | notmuch_search_sanitize)
+output=$(notmuch search foo | notmuch_search_sanitize)
 test_expect_equal "$output" "thread:XXX   2000-01-01 [1/1] Notmuch Test Suite; brokenthreadtest (inbox unread)"
 
 test_begin_subtest "Adding second child message"
@@ -17,7 +17,7 @@ output=$(NOTMUCH_NEW)
 test_expect_equal "$output" "Added 1 new message to the database."
 
 test_begin_subtest "Searching returns both messages in one thread"
-output=$($NOTMUCH search foo | notmuch_search_sanitize)
+output=$(notmuch search foo | notmuch_search_sanitize)
 test_expect_equal "$output" "thread:XXX   2000-01-01 [2/2] Notmuch Test Suite; brokenthreadtest (inbox unread)"
 
 test_begin_subtest "Adding parent message"
@@ -26,7 +26,7 @@ output=$(NOTMUCH_NEW)
 test_expect_equal "$output" "Added 1 new message to the database."
 
 test_begin_subtest "Searching returns all three messages in one thread"
-output=$($NOTMUCH search foo | notmuch_search_sanitize)
+output=$(notmuch search foo | notmuch_search_sanitize)
 test_expect_equal "$output" "thread:XXX   2000-01-01 [3/3] Notmuch Test Suite; brokenthreadtest (inbox unread)"
 
 test_done