X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fuuencode;h=d0d16bdd224ff6a14101ecc4ed4d31a5267ce3bc;hb=01cc4a31155dc71643fce1b619778493c1ff0dd7;hp=3592d5cc13f895e34ac3c923c616ba0d62a583c1;hpb=7263aa9ec3f72bb65a491b2c64345ab5258b24ee;p=notmuch diff --git a/test/uuencode b/test/uuencode index 3592d5cc..d0d16bdd 100755 --- a/test/uuencode +++ b/test/uuencode @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash test_description="handling of uuencoded data" . ./test-lib.sh @@ -20,15 +20,15 @@ end Finally, we have our afteruudata marker as well."' test_begin_subtest "Ensure content before uu data is indexed" -output=$($NOTMUCH search beforeuudata | notmuch_search_sanitize) +output=$(notmuch search beforeuudata | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [1/1] Notmuch Test Suite; uuencodetest (inbox unread)" test_begin_subtest "Ensure uu data is not indexed" -output=$($NOTMUCH search DURINGUUDATA | notmuch_search_sanitize) +output=$(notmuch search DURINGUUDATA | notmuch_search_sanitize) test_expect_equal "$output" "" test_begin_subtest "Ensure content after uu data is indexed" -output=$($NOTMUCH search afteruudata | notmuch_search_sanitize) +output=$(notmuch search afteruudata | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [1/1] Notmuch Test Suite; uuencodetest (inbox unread)" test_done