mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
tests: Use shell constructs that /bin/sh on Solaris 10 can understand.
Partly fixes <http://bugs.gnu.org/14042>. Reported by Marc Girod <marc.girod@gmail.com> * test-suite/standalone/test-language: Use a shell construct that /bin/sh on Solaris 10 can understand.
This commit is contained in:
parent
f5b2eea6a3
commit
72d4abda1d
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ set -e
|
|||
# The default language in effect until `--language' is encountered is
|
||||
# Scheme.
|
||||
guile -c "(exit (= 3 (apply + '(1 2))))" --language=elisp
|
||||
! guile -c "(= (funcall (symbol-function '+) 1 2) 3)" 2> /dev/null
|
||||
|
||||
if guile -c "(= (funcall (symbol-function '+) 1 2) 3)" 2> /dev/null
|
||||
then false; else true; fi
|
||||
|
||||
guile --language=elisp -c "(= (funcall (symbol-function '+) 1 2) 3)"
|
||||
guile --language=ecmascript -c '(function (x) { return x * x; })(2);'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue