mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-14 03:12:10 +02:00
tests: tac: test --separator with invalid UTF-8
* tests/tac/tac-locale.sh: Test that a string containing invalid UTF-8 characters can be used for --separator.
This commit is contained in:
@@ -38,6 +38,8 @@ export LC_ALL=$LOCALE_FR_UTF8
|
||||
if test "$(locale charmap 2>/dev/null)" = UTF-8; then
|
||||
check_separator '\u0434' # д
|
||||
check_separator '\u0434\u0436' # дж
|
||||
# invalid UTF8|unpaired surrogate|C1 control|noncharacter
|
||||
check_separator '\xC3|\xED\xBA\xAD|\u0089|\xED\xA6\xBF\xED\xBF\xBF'
|
||||
fi
|
||||
|
||||
Exit $fail
|
||||
|
||||
Reference in New Issue
Block a user