From 6601cc78bb728f19cb181b1bd3f78cccce23ec4b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 13 Dec 2021 23:30:06 +0100 Subject: 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. --- gnu/tests/networking.scm | 8 ++------ 1 file 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)) -- cgit v1.2.3