GNU bug report logs - #65561
[PATCH 1/2] gnu: cssc: Fix tests.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Sun, 27 Aug 2023 09:42:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH 1/2] gnu: cssc: Fix tests.
Date: Sun, 27 Aug 2023 17:41:31 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/version-control.scm (cssc)[arguments]: Replace
egrep with grep -E in the precheck phase.
---
 gnu/packages/version-control.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 699a091642..1ca3dc9a53 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2377,6 +2377,15 @@ (define-public cssc
                (substitute* "tests/prt/all-512.sh"
                  (("/bin/sh") (which "sh")))
 
+               (for-each
+                (lambda (file)
+                  (substitute* file (("egrep") "grep -E")))
+                '("tests/common/test-common"
+                  "tests/admin/comment.sh"
+                  "tests/cdc/2comment.sh"
+                  "tests/cdc/4order.sh"
+                  "tests/get/subst.sh"))
+
                ;; XXX: This test has no hope of passing until there is a "nogroup"
                ;; entry (or at least some group to which the guix builder does
                ;; not belong) in the /etc/group file of the build environment.

base-commit: 5856e185a3d4f47e27dfd064a231b3a1d44a6494
-- 
2.41.0





This bug report was last modified 1 year and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.