X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT140-excludes.sh;h=352b3eb8c14314cbbd17391c9c795f8b66b2cf02;hb=cd9ec20a49b731276ed5f0838b4f0782c281e239;hp=acab5381b94334bed54f1453eaf61a1e54807eba;hpb=97fadd0645e908ff8322577a983dc710bfda33d6;p=notmuch diff --git a/test/T140-excludes.sh b/test/T140-excludes.sh index acab5381..352b3eb8 100755 --- a/test/T140-excludes.sh +++ b/test/T140-excludes.sh @@ -5,8 +5,7 @@ test_description='"notmuch search, count and show" with excludes in several vari # Generates a thread consisting of a top level message and 'length' # replies. The subject of the top message 'subject: top message" # and the subject of the nth reply in the thread is "subject: reply n" -generate_thread () -{ +generate_thread () { local subject="$1" local length="$2" generate_message '[subject]="'"${subject}: top message"'"' '[body]="'"body of top message"'"'