diff options
Diffstat (limited to 'gnu/tests/ganeti.scm')
-rw-r--r-- | gnu/tests/ganeti.scm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/tests/ganeti.scm b/gnu/tests/ganeti.scm index c29b885a5e..f647e9554c 100644 --- a/gnu/tests/ganeti.scm +++ b/gnu/tests/ganeti.scm @@ -112,9 +112,7 @@ (define marionette (make-marionette (list #$vm))) - (mkdir #$output) - (chdir #$output) - + (test-runner-current (system-test-runner #$output)) (test-begin "ganeti") ;; Ganeti uses the Shepherd to start/stop daemons, so make sure @@ -244,8 +242,7 @@ "destroy" "--yes-do-it")) marionette)) - (test-end) - (exit (= (test-runner-fail-count (test-runner-current)) 0))))) + (test-end)))) (gexp->derivation (string-append "ganeti-" hypervisor "-test") test)) |