mirror of
https://github.com/git/git.git
synced 2026-04-01 12:30:09 +02:00
Skip tests requiring 'iconv' when that is not found
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -64,6 +64,13 @@ test_expect_success 'config to remove customization' '
|
||||
git config i18n.commitencoding UTF-8
|
||||
'
|
||||
|
||||
iconv --help 2>/dev/null >/dev/null
|
||||
test $? = 127 && {
|
||||
say "No iconv found; skip rest"
|
||||
test_done
|
||||
exit
|
||||
}
|
||||
|
||||
test_expect_success 'ISO8859-1 should be shown in UTF-8 now' '
|
||||
compare_with ISO8859-1 "$TEST_DIRECTORY"/t3900/1-UTF-8.txt
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user