diff options
author | Marius Bakke <[email protected]> | 2020-03-10 20:45:24 +0100 |
---|---|---|
committer | Marius Bakke <[email protected]> | 2020-03-10 20:45:24 +0100 |
commit | 2d421c4f19a0669879c9a8738361a151b1431d4f (patch) | |
tree | d814cdb0fa1bdf763973ea43d89e22eab1da42e0 /gnu/tests/monitoring.scm | |
parent | b3b5714fa72bf661003f27fbccba5697f5810115 (diff) | |
parent | 90799c35bd9cadaf7c28be5ea6e41ec692d5b4a4 (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/tests/monitoring.scm')
-rw-r--r-- | gnu/tests/monitoring.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/tests/monitoring.scm b/gnu/tests/monitoring.scm index 14d989d79a..732fbc54d7 100644 --- a/gnu/tests/monitoring.scm +++ b/gnu/tests/monitoring.scm @@ -194,6 +194,13 @@ cat ~a | sudo -u zabbix psql zabbix; (start-service 'postgres)) marionette)) + ;; Add /run/setuid-programs to $PATH so that the scripts passed to + ;; 'system' can find 'sudo'. + (marionette-eval + '(setenv "PATH" + "/run/setuid-programs:/run/current-system/profile/bin") + marionette) + (test-eq "postgres create zabbix user" 0 (marionette-eval '(begin (system #$%psql-user-create-zabbix)) |