X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fsearch-position-overlap-bug;h=5da6ad6f2ef7ee018e7b605d7442137e68a8f172;hb=5b6a91849c0d8aff1ae4fd147c0a8510d69fcc83;hp=5bbef7407280a7e6ce6660b78279abefb62231d9;hpb=fb54dee4ac1265b1cdf5b039e7c86a419decd04c;p=notmuch diff --git a/test/search-position-overlap-bug b/test/search-position-overlap-bug index 5bbef740..5da6ad6f 100755 --- a/test/search-position-overlap-bug +++ b/test/search-position-overlap-bug @@ -1,7 +1,7 @@ -#!/bin/bash +#!/usr/bin/env bash # Test to demonstrate a position overlap bug. -# +# # At one point, notmuch would index terms incorrectly in the case of # calling index_terms multiple times for a single field. The term # generator was being reset to position 0 each time. This means that @@ -12,7 +12,7 @@ # one could get a bogus match by searching for: # # To: a@y.c -# +# # Thanks to Mark Anderson for reporting the bug, (and providing a nice, # minimal test case that inspired what is used here), in # id:3wd4o8wa7fx.fsf@testarossa.amd.com