From: Michael Biebl Date: Sun, 22 Jan 2023 21:49:06 +0000 (+0100) Subject: test: fix TEST-73-LOCALE on Debian X-Git-Tag: archive/raspbian/252.5-2+rpi1^2^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=910c5eb1417ec0d60558d1a5b9c6893ef908024b;p=systemd.git 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 ``` (cherry picked from commit a4bc35740a052d0c69269f44d81f350dd7930b69) Gbp-Pq: Name test-fix-TEST-73-LOCALE-on-Debian.patch --- diff --git a/test/units/testsuite-73.sh b/test/units/testsuite-73.sh index f9e2dce1..1e493c07 100755 --- a/test/units/testsuite-73.sh +++ b/test/units/testsuite-73.sh @@ -118,9 +118,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