mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
test: fix TEST-73-LOCALE on Debian
Fix incorrection assumption about the Debian patch being buggy and actually making TEST-73-LOCALE fail on Debian. ``` # localectl set-locale LANG=C.UTF-8 # cat /etc/default/locale LANG=C.UTF-8 ```
This commit is contained in:
committed by
Luca Boccassi
parent
901339702c
commit
a4bc35740a
@@ -131,9 +131,7 @@ LC_CTYPE=$i"
|
||||
|
||||
assert_rc 0 localectl set-locale "$i"
|
||||
if [[ -f /etc/default/locale ]]; then
|
||||
# Debian/Ubuntu patch is buggy, and LC_CTYPE= still exists.
|
||||
assert_eq "$(cat /etc/default/locale)" "LANG=$i
|
||||
LC_CTYPE=$i"
|
||||
assert_eq "$(cat /etc/default/locale)" "LANG=$i"
|
||||
else
|
||||
assert_eq "$(cat /etc/locale.conf)" "LANG=$i"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user