summaryrefslogtreecommitdiff
path: root/gnu/tests/security-token.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/tests/security-token.scm')
-rw-r--r--gnu/tests/security-token.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/tests/security-token.scm b/gnu/tests/security-token.scm
index 1169a4b9fd..07270c0bfd 100644
--- a/gnu/tests/security-token.scm
+++ b/gnu/tests/security-token.scm
@@ -44,9 +44,7 @@
(define marionette
(make-marionette (list #$(virtual-machine os))))
- (mkdir #$output)
- (chdir #$output)
-
+ (test-runner-current (system-test-runner #$output))
(test-begin "pcscd")
(test-assert "pcscd is alive"
@@ -59,8 +57,7 @@
(current-services))))
marionette))
- (test-end)
- (exit (= (test-runner-fail-count (test-runner-current)) 0)))))
+ (test-end))))
(gexp->derivation "pcscd" test))