mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Modifies command line quoting in c-api.test
On MinGW, 'system' uses a non-posix shell that does not handle apostrophe as a quoting character. For this test, quoting a command-line with double quotes allows it to be run with both /bin/sh and cmd.exe. * test-suite/tests/c-api.test (egrep): use double quotes when quoting command line
This commit is contained in:
parent
f5c064576d
commit
45cc892fe3
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
(define srcdir (cdr (assq 'srcdir %guile-build-info)))
|
(define srcdir (cdr (assq 'srcdir %guile-build-info)))
|
||||||
|
|
||||||
(define (egrep string filename)
|
(define (egrep string filename)
|
||||||
(zero? (system (string-append "grep -E '" string "' " filename
|
(zero? (system (string-append "grep -E \"" string "\" " filename
|
||||||
" >" %null-device))))
|
" >" %null-device))))
|
||||||
|
|
||||||
(define (seek-offset-test dirname)
|
(define (seek-offset-test dirname)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue