aboutsummaryrefslogtreecommitdiff
path: root/t/t7004-tag.sh
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2009-03-01 19:52:51 +0100
committerJohannes Sixt <j6t@kdbg.org>2009-03-19 21:44:04 +0100
commitfae74a04d75e820c5150cfb0cb4c044bf4488007 (patch)
tree221772f30f5451e3e6fb3ccebfaf118002c5ac34 /t/t7004-tag.sh
parent7fd3ef1fd73dffdb9b3445893ab579723ce08e74 (diff)
downloadgit-fae74a04d75e820c5150cfb0cb4c044bf4488007.tar.gz
git-fae74a04d75e820c5150cfb0cb4c044bf4488007.tar.xz
test suite: Use 'say' to say something instead of 'test_expect_success'
Some tests report that some tests will be skipped. They used 'test_expect_success' with a trivially successful test. Nowadays we have the helper function 'say' for this purpose. In on case, 'say_color skip' is replaced by 'say' because the former is not intended as a public API. Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 't/t7004-tag.sh')
-rwxr-xr-xt/t7004-tag.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index 69501e271..06e6e179f 100755
--- a/t/t7004-tag.sh
+++ b/t/t7004-tag.sh
@@ -582,7 +582,7 @@ test_expect_success \
# subsequent tests require gpg; check if it is available
gpg --version >/dev/null
if [ $? -eq 127 ]; then
- echo "gpg not found - skipping tag signing and verification tests"
+ say "gpg not found - skipping tag signing and verification tests"
test_done
exit
fi
@@ -614,7 +614,7 @@ test_expect_success \
# that version, creation of signed tags using the generated key fails.
case "$(gpg --version)" in
'gpg (GnuPG) 1.0.6'*)
- echo "Skipping signed tag tests, because a bug in 1.0.6 version"
+ say "Skipping signed tag tests, because a bug in 1.0.6 version"
test_done
exit
;;