civodul pushed a commit to branch master
in repository guix.

commit e8cec7cc120fc95b2e869a1834a01e257e0f63c8
Author: Ludovic Courtès <[email protected]>
AuthorDate: Mon Mar 16 12:34:13 2020 +0100

    tests: nfs: Ensure 'rpcinfo' can be found.
    
    The test was failing since 8b9cad01e9619f53dc5a65892ca6a09ca5de3447.
    
    * gnu/tests/nfs.scm (run-nfs-test)[test]("RPC service running"): Add
    'setenv' call for PATH.
---
 gnu/tests/nfs.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/tests/nfs.scm b/gnu/tests/nfs.scm
index 014d049..635c4a7 100644
--- a/gnu/tests/nfs.scm
+++ b/gnu/tests/nfs.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017 Ludovic Courtès <[email protected]>
+;;; Copyright © 2016, 2017, 2020 Ludovic Courtès <[email protected]>
 ;;; Copyright © 2016 John Darrington <[email protected]>
 ;;; Copyright © 2017 Mathieu Othacehe <[email protected]>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <[email protected]>
@@ -101,6 +101,10 @@
             (marionette-eval
              '(begin
                 (use-modules (gnu services herd))
+
+                ;; Ensure 'rpcinfo' can be found below.
+                (setenv "PATH" "/run/current-system/profile/bin")
+
                 (start-service 'rpcbind-daemon))
              marionette))
 

Reply via email to