From: Michael Biebl Date: Sun, 22 Jan 2023 21:49:06 +0000 (+0100) Subject: test: fix TEST-73-LOCALE on Debian X-Git-Tag: v253-rc1~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4bc35740a052d0c69269f44d81f350dd7930b69;p=thirdparty%2Fsystemd.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 ``` --- diff --git a/test/units/testsuite-73.sh b/test/units/testsuite-73.sh index a4fda36da06..4eae0f64667 100755 --- a/test/units/testsuite-73.sh +++ b/test/units/testsuite-73.sh @@ -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