gnu: sysbench: Fix test suite.

* gnu/packages/benchmark.scm (sysbench) [arguments]: Patch egrep in the
patch-test-runner phase.
This commit is contained in:
Maxim Cournoyer 2023-04-21 00:11:46 -04:00
parent 09cc2636ef
commit 5ecdcd6afb
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -634,7 +634,12 @@ (define-public sysbench
;; Do not attempt to invoke the cram command via
;; Python, as on Guix it is a shell script (wrapper).
(("\\$\\(command -v cram\\)")
"-m cram"))))
"-m cram"))
(substitute* "tests/t/opt_report_checkpoints.t"
;; egrep outputs a deprecation warning, which breaks
;; the test.
(("egrep")
"grep -E"))))
(add-after 'unpack 'disable-test-installation
(lambda _
(substitute* "tests/Makefile.am"