tests: rsync: Set PATH.
authorLudovic Courtès <ludo@gnu.org>
Mon, 16 Mar 2020 09:33:29 +0000 (10:33 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 16 Mar 2020 13:05:52 +0000 (14:05 +0100)
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.

gnu/tests/rsync.scm

index 0965800..24e60d9 100644 (file)
@@ -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))