gnu: zutils: Fix test failure.

* gnu/packages/compression.scm (zutils)[arguments]: Add a
‘disable-failing-tests’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2020-07-09 19:48:00 +02:00
parent 5d5d68debc
commit 1de23e55cd
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1994,6 +1994,14 @@ (define-public zutils
(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"