aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-16 10:33:29 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-16 14:05:52 +0100
commit4df02ab675b262bc2d43f83ad33785eb434ea6cb (patch)
treeeaf6c0db2d135c75c201915cb34926ee73f7f204
parentbc6bf142d333f05cfb214295db0756d7e3ad0d67 (diff)
downloadpatches-4df02ab675b262bc2d43f83ad33785eb434ea6cb.tar
patches-4df02ab675b262bc2d43f83ad33785eb434ea6cb.tar.gz
tests: rsync: Set PATH.
This is a followup to 8b9cad01e9619f53dc5a65892ca6a09ca5de3447, which would leave PATH unset. * gnu/tests/rsync.scm (run-rsync-test)[test]("service running"): Add call to 'setenv' for PATH.
-rw-r--r--gnu/tests/rsync.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/tests/rsync.scm b/gnu/tests/rsync.scm
index 096580022f..24e60d9d9d 100644
--- a/gnu/tests/rsync.scm
+++ b/gnu/tests/rsync.scm
@@ -64,6 +64,10 @@ PORT."
(marionette-eval
'(begin
(use-modules (gnu services herd))
+
+ ;; Make sure the 'rsync' command is found.
+ (setenv "PATH" "/run/current-system/profile/bin")
+
(start-service 'rsync))
marionette))