aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-16 12:34:13 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-16 14:05:52 +0100
commite8cec7cc120fc95b2e869a1834a01e257e0f63c8 (patch)
tree562e524cdee94911a91c9146355b3513fb5ebce7 /gnu/tests
parenta37e03d60e18dfcf119d0b92d9008e54fc350bf1 (diff)
downloadguix-e8cec7cc120fc95b2e869a1834a01e257e0f63c8.tar
guix-e8cec7cc120fc95b2e869a1834a01e257e0f63c8.tar.gz
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.
Diffstat (limited to 'gnu/tests')
-rw-r--r--gnu/tests/nfs.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/tests/nfs.scm b/gnu/tests/nfs.scm
index 014d049ab5..635c4a7322 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 <ludo@gnu.org>
+;;; Copyright © 2016, 2017, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -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))