t9129: skip the last three tests if UTF-8 locale is not available

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Miklos Vajna
2008-12-23 02:09:24 +01:00
committed by Junio C Hamano
parent 779e3a8f8b
commit c66c0cbc7e

View File

@@ -60,6 +60,7 @@ do
' '
done done
if locale -a |grep -q en_US.utf8; then
test_expect_success 'ISO-8859-1 should match UTF-8 in svn' ' test_expect_success 'ISO-8859-1 should match UTF-8 in svn' '
( (
cd ISO-8859-1 && cd ISO-8859-1 &&
@@ -76,5 +77,8 @@ do
) )
' '
done done
else
say "UTF-8 locale not available, test skipped"
fi
test_done test_done