tests: openvswitch: Use the absolute file name of ovs-vsctl.

This fixes a regression introduced in 8b9cad01e9
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.
This commit is contained in:
Marius Bakke 2020-04-10 20:05:02 +02:00
parent 5379392731
commit 6720616daa
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -205,7 +205,8 @@ (define marionette
;; 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.