guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/08: tests: Strengthen regexp in 'packages.scm'.


From: Ludovic Courtès
Subject: 06/08: tests: Strengthen regexp in 'packages.scm'.
Date: Sun, 19 Jun 2016 22:53:14 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 77559f23b02f80d9e5dd4030e1f67cd954a871ac
Author: Ludovic Courtès <address@hidden>
Date:   Sun Jun 19 23:51:58 2016 +0200

    tests: Strengthen regexp in 'packages.scm'.
    
    * tests/packages.scm ("--search-paths with pattern"): Call
    'regexp-quote' on the result of 'derivation->output-path'.
---
 tests/packages.scm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/packages.scm b/tests/packages.scm
index d3f432a..94f5ea7 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]