t7510: stop referring to master in later tests

Our setup creates a sequence of commits, each with its own tag. However, we sometimes refer to "seventh-signed" as "master". This works, since it is at the tip of the created branch, but is brittle if new tests need to add more commits. Let's use its tag name to be unambiguous. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Jun 16, 2014 at 19:59 UTC 526d56e07200483fc93be9c2dfee81bb87713c9b
1 file changed +3 -3
t/t7510-signed-commit.sh
+3 -3
@@ -47,7 +47,7 @@ test_expect_success GPG 'create signed commits' '
47
48 test_expect_success GPG 'show signatures' '
49 (
50 - for commit in initial second merge fourth-signed fifth-signed sixth-signed master
50 + for commit in initial second merge fourth-signed fifth-signed sixth-signed seventh-signed
51 do
52 git show --pretty=short --show-signature $commit >actual &&
53 grep "Good signature from" actual || exit 1
@@ -67,7 +67,7 @@ test_expect_success GPG 'show signatures' '
67 '
68
69 test_expect_success GPG 'detect fudged signature' '
70 - git cat-file commit master >raw &&
70 + git cat-file commit seventh-signed >raw &&
71
72 sed -e "s/seventh/7th forged/" raw >forged1 &&
73 git hash-object -w -t commit forged1 >forged1.commit &&
@@ -77,7 +77,7 @@ test_expect_success GPG 'detect fudged signature' '
77 '
78
79 test_expect_success GPG 'detect fudged signature with NUL' '
80 - git cat-file commit master >raw &&
80 + git cat-file commit seventh-signed >raw &&
81 cat raw >forged2 &&
82 echo Qwik | tr "Q" "\000" >>forged2 &&
83 git hash-object -w -t commit forged2 >forged2.commit &&