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:
Michael Biebl
2023-01-22 22:49:06 +01:00
committed by Luca Boccassi
parent 901339702c
commit a4bc35740a

View File

@@ -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