t2004: standardize file naming in symlink test

Update "symlink" test to use the common file naming scheme so that its temporary files can be cleaned up by the "rm -f path*" idiom employed by other tests in this script. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Eric Sunshine committed Dec 24, 2014 at 04:43 UTC 66e28e93bb817791cff837df9df0469962e47618
1 file changed +3 -3
t/t2004-checkout-cache-temp.sh
+3 -3
@@ -197,13 +197,13 @@ test_expect_success 'checkout --temp within subdir' '
197
198 test_expect_success 'checkout --temp symlink' '
199 rm -f path* .merge_* actual .git/index &&
200 - test_ln_s_add b a &&
200 + test_ln_s_add path7 path6 &&
201 git checkout-index --temp -a >actual &&
202 test_line_count = 1 actual &&
203 - test $(cut "-d " -f2 actual) = a &&
203 + test $(cut "-d " -f2 actual) = path6 &&
204 p=$(cut "-d " -f1 actual) &&
205 test -f $p &&
206 - test $(cat $p) = b
206 + test $(cat $p) = path7
207 '
208
209 test_done