X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fsearch-position-overlap-bug;h=5da6ad6f2ef7ee018e7b605d7442137e68a8f172;hp=5bbef7407280a7e6ce6660b78279abefb62231d9;hb=76a2db3d7b92bc1a8be75f673dc384c46cf02fab;hpb=fb54dee4ac1265b1cdf5b039e7c86a419decd04c 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