mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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:
parent
5379392731
commit
6720616daa
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue