tests: Remove 'GUIX_LOCPATH' hack that had been added for glibc@2.23.
* gnu/tests/base.scm (run-basic-test)[test]("locale"): Remove
'GUIX_LOCPATH' hack, which is no longer needed since
commit 9f58fe3d1c.
			
			
This commit is contained in:
		
							parent
							
								
									f7f292d359
								
							
						
					
					
						commit
						cc73339b97
					
				
					 1 changed files with 2 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -199,14 +199,8 @@ info --version")
 | 
			
		|||
 | 
			
		||||
          (test-equal "locale"
 | 
			
		||||
            "en_US.utf8"
 | 
			
		||||
            (marionette-eval '(begin
 | 
			
		||||
                                ;; XXX: This 'setenv' call wouldn't be needed
 | 
			
		||||
                                ;; but our glibc@2.23 currently ignores
 | 
			
		||||
                                ;; /run/current-system/locale.
 | 
			
		||||
                                (setenv "GUIX_LOCPATH"
 | 
			
		||||
                                        "/run/current-system/locale")
 | 
			
		||||
                                (let ((before (setlocale LC_ALL "en_US.utf8")))
 | 
			
		||||
                                  (setlocale LC_ALL before)))
 | 
			
		||||
            (marionette-eval '(let ((before (setlocale LC_ALL "en_US.utf8")))
 | 
			
		||||
                                (setlocale LC_ALL before))
 | 
			
		||||
                             marionette))
 | 
			
		||||
 | 
			
		||||
          (test-assert "/run/current-system is a GC root"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue