mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 07:27:53 +00:00
tests: mktemp: export LC_ALL
* tests/mktemp/bad-unicode.sh: Run this test case using multiple locales.
This commit is contained in:
parent
ca68ab6c8a
commit
9cb06a7d13
@ -24,6 +24,7 @@ echo a > "$(bad_unicode)" \
|
||||
|
||||
for loc in C "$LOCALE_FR" "$LOCALE_FR_UTF8"; do
|
||||
test -z "$loc" && continue
|
||||
export LC_ALL="$loc"
|
||||
# Bad Unicode as a suffix.
|
||||
file1=$(mktemp --tmpdir='.' --suffix=$(bad_unicode)) || fail=1
|
||||
test -n "$file1" && test -f "$file1" || fail=1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user