t7810: add missing variables to tests in loop
commit9afad7a1e6363ed249a5cfcc95a35900ae4970cb
authorRené Scharfe <l.s.r@web.de>
Tue, 11 Mar 2014 21:07:58 +0000 (11 22:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Mar 2014 22:05:26 +0000 (11 15:05 -0700)
treed2032888eb94c492690fd9ecb1e6509198feace2
parent5f95c9f850b19b368c43ae399cc831b17a26a5ac
t7810: add missing variables to tests in loop

Some tests in t7810-grep.sh are in a loop that runs them against HEAD and
the work tree.  In order for that to work the test code should use the
variables $L (display name), $H (HEAD or empty string) and $HC (revision
prefix for result lines); otherwise tests are just repeated with the same
target.  Add the variables where they're missing and make sure the test
description is wrapped in double quotes (instead of single quotes) to
allow variables to be expanded.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7810-grep.sh