~ruther/guix-local

6601cc78bb728f19cb181b1bd3f78cccce23ec4b — Ludovic Courtès 4 years ago 95447b2
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.
1 files changed, 2 insertions(+), 6 deletions(-)

M gnu/tests/networking.scm
M gnu/tests/networking.scm => gnu/tests/networking.scm +2 -6
@@ 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))