mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
tests: Use double quotes around shell arguments, for Windows.
* test-suite/standalone/test-system-cmds (test-system-cmd): Use double quotes around shell arguments. Reported by Eli Zaretskii <eliz@gnu.org>.
This commit is contained in:
parent
dba6f4e2e3
commit
b518c6a0b3
1 changed files with 5 additions and 3 deletions
|
@ -10,7 +10,9 @@ exec guile -q -s "$0" "$@"
|
|||
"test-system-cmds: (system) did not return a boolean\n")
|
||||
(exit 1)))
|
||||
|
||||
(let ((rs (status:exit-val (system "guile -c '(exit 42)'"))))
|
||||
;; Note: Use double quotes since simple quotes are not supported by
|
||||
;; `cmd.exe' on Windows.
|
||||
(let ((rs (status:exit-val (system "guile -c \"(exit 42)\""))))
|
||||
(if (not (= 42 rs))
|
||||
(begin
|
||||
(simple-format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue