tests: nfs: Ensure 'rpcinfo' can be found.
The test was failing since 8b9cad01e9.
* gnu/tests/nfs.scm (run-nfs-test)[test]("RPC service running"): Add
'setenv' call for PATH.
			
			
This commit is contained in:
		
							parent
							
								
									a37e03d60e
								
							
						
					
					
						commit
						e8cec7cc12
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; 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 © 2016 John Darrington <jmd@gnu.org>
 | 
				
			||||||
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
 | 
					;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
 | 
				
			||||||
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
					;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
| 
						 | 
					@ -101,6 +101,10 @@
 | 
				
			||||||
            (marionette-eval
 | 
					            (marionette-eval
 | 
				
			||||||
             '(begin
 | 
					             '(begin
 | 
				
			||||||
                (use-modules (gnu services herd))
 | 
					                (use-modules (gnu services herd))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                ;; Ensure 'rpcinfo' can be found below.
 | 
				
			||||||
 | 
					                (setenv "PATH" "/run/current-system/profile/bin")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                (start-service 'rpcbind-daemon))
 | 
					                (start-service 'rpcbind-daemon))
 | 
				
			||||||
             marionette))
 | 
					             marionette))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue