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
|
@ -797,7 +797,7 @@
|
|||
#:guile-for-build (%guile-for-build))))
|
||||
(build-derivations %store (list prof))
|
||||
(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
|
||||
(lambda ()
|
||||
(guix-package "-p" (derivation->output-path prof)
|
||||
|
|
Loading…
Reference in New Issue