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>
This commit is contained in:
Johannes Sixt
2009-03-01 19:52:51 +01:00
parent 7fd3ef1fd7
commit fae74a04d7
10 changed files with 15 additions and 15 deletions

View File

@ -7,7 +7,7 @@ test_description='perl interface (Git.pm)'
. ./test-lib.sh
perl -MTest::More -e 0 2>/dev/null || {
say_color skip "Perl Test::More unavailable, skipping test"
say "Perl Test::More unavailable, skipping test"
test_done
}