]> git.notmuchmail.org Git - notmuch/blobdiff - test/long-id
debian: fix typo in postinst (Debian bug 740325), clean up empty directory
[notmuch] / test / long-id
index 1f55d716cacf514fcfe3cd71c693eb9aa20d1d44..85e620fadd404f8c3ffaf4e4316f4f469e0fb943 100755 (executable)
@@ -1,5 +1,5 @@
-#!/bin/bash
-test_description="Testing messages with ridiculously-long message IDs"
+#!/usr/bin/env bash
+test_description="messages with ridiculously-long message IDs"
 . ./test-lib.sh
 
 test_begin_subtest "Referencing long ID before adding"
@@ -21,7 +21,7 @@ output=$(NOTMUCH_NEW)
 test_expect_equal "$output" "Added 1 new message to the database."
 
 test_begin_subtest "Ensure all messages were threaded together"
-output=$($NOTMUCH search 'subject:"a ridiculously-long message ID"' | notmuch_search_sanitize)
+output=$(notmuch search 'subject:"a ridiculously-long message ID"' | notmuch_search_sanitize)
 test_expect_equal "$output" "thread:XXX   2001-01-05 [1/3] Notmuch Test Suite; A ridiculously-long message ID (inbox unread)"
 
 test_done