summary refs log tree commit diff
path: root/gnu/tests/monitoring.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/tests/monitoring.scm')
-rw-r--r--gnu/tests/monitoring.scm10
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/tests/monitoring.scm b/gnu/tests/monitoring.scm
index 5039e22765..ae0a8e0845 100644
--- a/gnu/tests/monitoring.scm
+++ b/gnu/tests/monitoring.scm
@@ -63,10 +63,7 @@
           (define marionette
             (make-marionette (list #$vm)))
 
-          (mkdir #$output)
-          (chdir #$output)
-
-          (test-runner-current (system-test-runner))
+          (test-runner-current (system-test-runner #$output))
           (test-begin #$name)
 
           (test-assert "prometheus-node-exporter running"
@@ -165,10 +162,7 @@ cat ~a | sudo -u zabbix psql zabbix;
           (define marionette
             (make-marionette (list #$vm)))
 
-          (mkdir #$output)
-          (chdir #$output)
-
-          (test-runner-current (system-test-runner))
+          (test-runner-current (system-test-runner #$output))
           (test-begin #$name)
 
           ;; XXX: Shepherd reads the config file *before* binding its control