summary refs log tree commit diff
path: root/gnu/packages/benchmark.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-21 00:11:46 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-21 00:44:07 -0400
commit5ecdcd6afbaa01e0b674a86ff101246edc4b5c3c (patch)
tree74c9982ce7caff72c97d0ca23b2e7622dd46953d /gnu/packages/benchmark.scm
parent09cc2636ef46d96df5a83e9034083e79e02a049b (diff)
downloadguix-5ecdcd6afbaa01e0b674a86ff101246edc4b5c3c.tar.gz
gnu: sysbench: Fix test suite.
* gnu/packages/benchmark.scm (sysbench) [arguments]: Patch egrep in the
patch-test-runner phase.
Diffstat (limited to 'gnu/packages/benchmark.scm')
-rw-r--r--gnu/packages/benchmark.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm
index 0cc8def918..d764e64571 100644
--- a/gnu/packages/benchmark.scm
+++ b/gnu/packages/benchmark.scm
@@ -634,7 +634,12 @@ its features are:
                          ;; 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"