guix-commits
[Top][All Lists]
Advanced

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

06/07: tests: nfs: Ensure 'rpcinfo' can be found.


From: guix-commits
Subject: 06/07: tests: nfs: Ensure 'rpcinfo' can be found.
Date: Mon, 16 Mar 2020 09:06:03 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e8cec7cc120fc95b2e869a1834a01e257e0f63c8
Author: Ludovic Courtès <address@hidden>
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 <address@hidden>
+;;; Copyright © 2016, 2017, 2020 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2016 John Darrington <address@hidden>
 ;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
@@ -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

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