From 5ecdcd6afbaa01e0b674a86ff101246edc4b5c3c Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 21 Apr 2023 00:11:46 -0400 Subject: gnu: sysbench: Fix test suite. * gnu/packages/benchmark.scm (sysbench) [arguments]: Patch egrep in the patch-test-runner phase. --- gnu/packages/benchmark.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/benchmark.scm') 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 @@ (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" -- cgit v1.2.3