mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-03 08:36:32 +01:00
gnu: hitch: Rewrite grep command to not use perl regexps.
* gnu/packages/web.scm (hitch)[arguments]: Rewrite grep command in a test to not use perl regexps.
This commit is contained in:
parent
e43cbeafd1
commit
5a462c0d3d
1 changed files with 8 additions and 0 deletions
|
@ -5958,6 +5958,14 @@ (define-public hitch
|
|||
`(#:phases (modify-phases %standard-phases
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
;; Our grep is compiled without perl regexp support. So,
|
||||
;; rewrite the grep command to not use it. \t tab
|
||||
;; characters are supported only in perl regexps. So,
|
||||
;; put in literal tabs using printf instead.
|
||||
(substitute* "src/tests/test32-proxy-authority.sh"
|
||||
(("grep -Pq") "grep -q")
|
||||
(("extension:\\\\tdefault")
|
||||
"extension:$(printf '\\011')default"))
|
||||
;; Most tests attempts to access hitch-tls.org which is
|
||||
;; unavailable in the build container. Run them against
|
||||
;; a dummy local web server instead.
|
||||
|
|
Loading…
Reference in a new issue