summaryrefslogtreecommitdiff
path: root/gnu/tests/rsync.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/tests/rsync.scm')
-rw-r--r--gnu/tests/rsync.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/tests/rsync.scm b/gnu/tests/rsync.scm
index 24e60d9d9d..91f2b41cec 100644
--- a/gnu/tests/rsync.scm
+++ b/gnu/tests/rsync.scm
@@ -54,9 +54,7 @@ PORT."
(define marionette
(make-marionette (list #$vm)))
- (mkdir #$output)
- (chdir #$output)
-
+ (test-runner-current (system-test-runner #$output))
(test-begin "rsync")
;; Wait for rsync to be up and running.
@@ -106,8 +104,7 @@ PORT."
(read-line port))))
marionette))
- (test-end)
- (exit (= (test-runner-fail-count (test-runner-current)) 0)))))
+ (test-end))))
(gexp->derivation "rsync-test" test))