From 9282223de4b511aeda3b7d2caf3810a56a865710 Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Mon, 10 Jan 2022 14:16:32 -0500 Subject: [PATCH] Use C locale unconditionally for tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ‘en_US.utf8’ locale is available. However, the ‘locale -a’ command won’t list it. --- tests/libtest-core.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/libtest-core.sh b/tests/libtest-core.sh index 9632e90..82951dd 100644 --- a/tests/libtest-core.sh +++ b/tests/libtest-core.sh @@ -41,12 +41,7 @@ assert_not_reached () { # # If we can't find the locale command assume we have support for C.UTF-8 # (e.g. musl based systems) -if type -p locale >/dev/null; then - export LC_ALL=$(locale -a | grep -iEe '^(C|en_US)\.(UTF-8|utf8)$' | head -n1 || true) - if [ -z "${LC_ALL}" ]; then fatal "Can't find suitable UTF-8 locale"; fi -else - export LC_ALL=C.UTF-8 -fi +export LC_ALL=en_US.utf8 # A GNU extension, used whenever LC_ALL is not C unset LANGUAGE -- 2.34.1 ebcb2836332'>refslogtreecommitdiff
path: root/gnu/services/dict.scm
AgeCommit message (Expand)Author
2018-03-07services: dicod: Depend on 'user-processes'....* gnu/services/dict.scm (dicod-shepherd-service): Add 'requirement'. Ludovic Courtès
2017-11-22services: dicod: Run in a container....* gnu/services/dict.scm (dicod-shepherd-service): Add 'with-imported-modules' form and 'modules' field. Use 'make-forkexec-constructor/container' instead of 'make-forkexec-constructor'. Ludovic Courtès
2017-04-16services: Add a default value to various service types....* gnu/services/admin.scm (rottlog-service-type)[default-value]: New field. * gnu/services/base.scm (guix-service-type)[default-value]: New field. (guix-publish-service-type)[default-value]: New field. * gnu/services/cups.scm (cups-service-type)[default-value]: New field. * gnu/services/dict.scm (dicod-service-type)[default-value]: New field. * gnu/services/mcron.scm (mcron-service-type)[default-value]: New field. * gnu/services/networking.scm (<tor-configuration>)[config-file]: Add default value. (tor-service-type)[default-value]: New field. (<bitlbee-configuration>)[interface, port, extra-settings]: Add default values. (bitlbee-service-type)[default-value]: New field. (wpa-supplicant-service-type)[default-value]: New field. (tlp-service-type)[default-value]: New field. (openssh-service-type)[default-value]: New field. * doc/guix.texi (Base Services, Log Rotation) (Networking Services, Printing Services): (Power management Services): Adjust examples accordingly. Ludovic Courtès
2017-04-01services: dicod: Allow the configuration of "handlers"....* gnu/services/dict.scm (<dicod-configuration>)[handlers]: New field. (<dicod-handler>): New record type. (<dicod-database>): Add fields. (dicod-configuration-file): Support convert handlers and enhanced databases. configuration to config file. * doc/guix.texi (Miscellaneous Services): Update accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Huang Ying
2016-11-19services: dicod-service: Honor 'dicod-configuration-dico'....* gnu/services/dict.scm (dicod-shepherd-service): Use 'dicod-configuration-dico' of config. 宋文武
2016-09-10system: Use 'file-append' to denote file names....* gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/databases.scm, gnu/services/dbus.scm, gnu/services/desktop.scm, gnu/services/dict.scm, gnu/services/mail.scm, gnu/services/networking.scm, gnu/services/sddm.scm, gnu/services/spice.scm, gnu/services/ssh.scm, gnu/services/web.scm, gnu/services/xorg.scm, gnu/system.scm: Replace the #~(string-append #$pkg "/bin/foo") idiom with (file-append pkg "/bin/foo"). Ludovic Courtès