tests: Strengthen regexp in 'packages.scm'.
* tests/packages.scm ("--search-paths with pattern"): Call
'regexp-quote' on the result of 'derivation->output-path'.
			
			
This commit is contained in:
		
							parent
							
								
									04eb0fab3a
								
							
						
					
					
						commit
						77559f23b0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -797,7 +797,7 @@
 | 
				
			||||||
                 #:guile-for-build (%guile-for-build))))
 | 
					                 #:guile-for-build (%guile-for-build))))
 | 
				
			||||||
    (build-derivations %store (list prof))
 | 
					    (build-derivations %store (list prof))
 | 
				
			||||||
    (string-match (format #f "^export XML_CATALOG_FILES=\"~a/xml/+bar/baz/catalog\\.xml\"\n"
 | 
					    (string-match (format #f "^export XML_CATALOG_FILES=\"~a/xml/+bar/baz/catalog\\.xml\"\n"
 | 
				
			||||||
                          (derivation->output-path prof))
 | 
					                          (regexp-quote (derivation->output-path prof)))
 | 
				
			||||||
                  (with-output-to-string
 | 
					                  (with-output-to-string
 | 
				
			||||||
                    (lambda ()
 | 
					                    (lambda ()
 | 
				
			||||||
                      (guix-package "-p" (derivation->output-path prof)
 | 
					                      (guix-package "-p" (derivation->output-path prof)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue