packaging: set LANG=C.utf-8 during tests
authorZygmunt Krynicki <zygmunt.krynicki@canonical.com>
Mon, 3 Jun 2024 09:41:32 +0000 (11:41 +0200)
committerZygmunt Krynicki <me@zygoon.pl>
Fri, 6 Sep 2024 11:27:51 +0000 (13:27 +0200)
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0009-PATCH-08-18-packaging-set-LANG-C.utf-8-during-tests.patch

packaging/debian-sid/rules

index 1a0139a16df912a3c205c70ae8e443a93487f703..02de8f40b3fa8c8f022ef01d808edaa47f37fa45 100755 (executable)
@@ -189,7 +189,7 @@ endif
        $(MAKE) -C data all
 
 override_dh_auto_test:
-       GO111MODULE=off dh_auto_test -- $(BUILDFLAGS) -tags "$(TAGS)" $(GCCGOFLAGS) $(DH_GOPKG)/...
+       LANG=C.utf-8 GO111MODULE=off dh_auto_test -- $(BUILDFLAGS) -tags "$(TAGS)" $(GCCGOFLAGS) $(DH_GOPKG)/...
 # a tested default (production) build should have no test keys
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        # check that only the main trusted account-keys are included