summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-07-09 19:48:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-07-09 19:57:41 +0200
commit1de23e55cd1b416b26686ce635541f3ea329e1cb (patch)
tree4b8d51add78d30b90d9f6c2befe27bea90567a08 /gnu
parent5d5d68debcf0d266a27f47c478d5d22aab82de46 (diff)
downloadguix-1de23e55cd1b416b26686ce635541f3ea329e1cb.tar.gz
gnu: zutils: Fix test failure.
* gnu/packages/compression.scm (zutils)[arguments]: Add a
‘disable-failing-tests’ phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/compression.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 21b4b92862..e5ee5e70c6 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1994,6 +1994,14 @@ reading from and writing to ZIP archives. ")
        (list "--sysconfdir=/etc")
        #:phases
        (modify-phases %standard-phases
+         (add-before 'check 'disable-failing-tests
+           ;; XXX ‘zgrep -L’ inverts the exit status too, which the test suite
+           ;; doesn't expect.  Bug report probably stuck in moderation.
+           (lambda _
+             (substitute* "testsuite/check.sh"
+               (("\"\\$\\{ZGREP\\}\" -N -L \"GNU\"") "true")
+               (("\"\\$\\{ZGREP\\}\" -N -L \"nx_pattern\"") "false"))
+             #t))
          (replace 'install
           (lambda* (#:key make-flags outputs #:allow-other-keys)
             (apply invoke "make" "install"