diff --git a/gnu/tests/networking.scm b/gnu/tests/networking.scm index 2bcc7f70dc..3f3f653b8a 100644 --- a/gnu/tests/networking.scm +++ b/gnu/tests/networking.scm @@ -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))