gnu: Open vSwitch: Adjust tests for grep 3.8.
authorMarius Bakke <marius@gnu.org>
Sat, 10 Sep 2022 21:44:48 +0000 (23:44 +0200)
committerMarius Bakke <marius@gnu.org>
Sun, 11 Sep 2022 17:43:15 +0000 (19:43 +0200)
* gnu/packages/networking.scm (openvswitch)[arguments]: Add substitution for
'egrep'.

gnu/packages/networking.scm

index f5f1f44..bde43bd 100644 (file)
@@ -2763,6 +2763,11 @@ procedure calls (RPCs).")
                    (("#! /bin/sh")
                     (string-append "#! " /bin/sh))
 
+                   ;; grep 3.8 emits a warning for 'egrep' which breaks
+                   ;; expected output; adjust accordingly.
+                   (("egrep")
+                    "grep -E")
+
                    ;; The tests use 'kill -0' to check whether a test has
                    ;; completed, but it does not work in the build container
                    ;; because zombies are not reaped automatically (PID 1 is