[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: tests: openvswitch: Use the absolute file name of ovs-vsctl.
From: |
guix-commits |
Subject: |
02/02: tests: openvswitch: Use the absolute file name of ovs-vsctl. |
Date: |
Fri, 10 Apr 2020 14:20:38 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 6720616daaf711314827c157a660339990e5cb07
Author: Marius Bakke <address@hidden>
AuthorDate: Fri Apr 10 20:05:02 2020 +0200
tests: openvswitch: Use the absolute file name of ovs-vsctl.
This fixes a regression introduced in
8b9cad01e9619f53dc5a65892ca6a09ca5de3447
where ovs-vsctl would no longer be available in PATH.
* gnu/tests/networking.scm (run-openvswitch-test): Qualify "ovs-vsctl"
invocation by ungexping the OPENVSWITCH variable instead of assuming it's
available on PATH.
---
gnu/tests/networking.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/tests/networking.scm b/gnu/tests/networking.scm
index e90b247..ca18b2f 100644
--- a/gnu/tests/networking.scm
+++ b/gnu/tests/networking.scm
@@ -205,7 +205,8 @@ port 7, and a dict service on port 2628."
;; Make sure the bridge is created.
(test-assert "br0 exists"
(marionette-eval
- '(zero? (system* "ovs-vsctl" "br-exists" "br0"))
+ '(zero? (system* #$(file-append openvswitch "/bin/ovs-vsctl")
+ "br-exists" "br0"))
marionette))
;; Make sure eth0 is connected to the bridge.