summaryrefslogtreecommitdiff
path: root/gnu/tests
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/tests')
-rw-r--r--gnu/tests/networking.scm8
1 files changed, 2 insertions, 6 deletions
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 @@
(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 @@
(logand flags IFF_UP))
marionette))
- (test-end)
-
- (exit (= (test-runner-fail-count (test-runner-current)) 0)))))
+ (test-end))))
(gexp->derivation "static-networking" test))