mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
tests: static-networking: Adjust to new style.
* gnu/tests/networking.scm (run-static-networking-test)[test]: Remove 'mkdir', 'chdir', and 'exit' calls'. Add 'test-runner-current' call.
This commit is contained in:
parent
95447b293d
commit
6601cc78bb
1 changed files with 2 additions and 6 deletions
|
@ -64,9 +64,7 @@ (define marionette
|
|||
(make-marionette
|
||||
'(#$vm "-nic" "user,model=virtio-net-pci")))
|
||||
|
||||
(mkdir #$output)
|
||||
(chdir #$output)
|
||||
|
||||
(test-runner-current (system-test-runner #$output))
|
||||
(test-begin "static-networking")
|
||||
|
||||
(test-assert "service is up"
|
||||
|
@ -109,9 +107,7 @@ (define marionette
|
|||
(logand flags IFF_UP))
|
||||
marionette))
|
||||
|
||||
(test-end)
|
||||
|
||||
(exit (= (test-runner-fail-count (test-runner-current)) 0)))))
|
||||
(test-end))))
|
||||
|
||||
(gexp->derivation "static-networking" test))
|
||||
|
||||
|
|
Loading…
Reference in a new issue