t5503: fix overspecification of trace expectation
authorJonathan Tan <jonathantanmy@google.com>
Mon, 25 Feb 2019 21:54:09 +0000 (13:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Mar 2019 01:02:42 +0000 (10:02 +0900)
commit15ff91aa8357ed94f3a646ff65c477517627a63d
treebfcb4c0a66f8efee658b706464c30582e0efebb5
parentab0c5f5096be62c2c964549673bc8965b2ddfb0e
t5503: fix overspecification of trace expectation

In order to extract the wants from a trace, a loop in t5503 currently
breaks if "0000" is found. This works for protocol v0 and v1, but not
v2. Instead, teach t5503 to look specifically for the "want" string,
which is compatible with all protocols.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5503-tagfollow.sh