diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2020-03-16 12:34:13 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2020-03-16 14:05:52 +0100 |
| commit | e8cec7cc120fc95b2e869a1834a01e257e0f63c8 (patch) | |
| tree | 562e524cdee94911a91c9146355b3513fb5ebce7 /gnu/tests | |
| parent | a37e03d60e18dfcf119d0b92d9008e54fc350bf1 (diff) | |
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.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/tests/nfs.scm b/gnu/tests/nfs.scm index 014d049ab51..635c4a73220 100644 --- a/gnu/tests/nfs.scm +++ b/gnu/tests/nfs.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2016, 2017 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2016, 2017, 2020 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2016 John Darrington <jmd@gnu.org> | 3 | ;;; Copyright © 2016 John Darrington <jmd@gnu.org> |
| 4 | ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> | 4 | ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> |
| 5 | ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> | 5 | ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> |
| @@ -101,6 +101,10 @@ | |||
| 101 | (marionette-eval | 101 | (marionette-eval |
| 102 | '(begin | 102 | '(begin |
| 103 | (use-modules (gnu services herd)) | 103 | (use-modules (gnu services herd)) |
| 104 | |||
| 105 | ;; Ensure 'rpcinfo' can be found below. | ||
| 106 | (setenv "PATH" "/run/current-system/profile/bin") | ||
| 107 | |||
| 104 | (start-service 'rpcbind-daemon)) | 108 | (start-service 'rpcbind-daemon)) |
| 105 | marionette)) | 109 | marionette)) |
| 106 | 110 | ||
