summaryrefslogtreecommitdiff
path: root/gnu/tests
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-10 20:05:02 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-10 20:20:11 +0200
commit6720616daaf711314827c157a660339990e5cb07 (patch)
tree5f5f1203233f97b0df1594d7650ba39641a00642 /gnu/tests
parent5379392731b52eef22b4936637eb592b93e04318 (diff)
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.
Diffstat (limited to 'gnu/tests')
-rw-r--r--gnu/tests/networking.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/tests/networking.scm b/gnu/tests/networking.scm
index e90b247883..ca18b2f452 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.