guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/07: tests: rsync: Set PATH.


From: guix-commits
Subject: 01/07: tests: rsync: Set PATH.
Date: Mon, 16 Mar 2020 09:06:02 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 4df02ab675b262bc2d43f83ad33785eb434ea6cb
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon Mar 16 10:33:29 2020 +0100

    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.
---
 gnu/tests/rsync.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/tests/rsync.scm b/gnu/tests/rsync.scm
index 0965800..24e60d9 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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]