Enable 'quote' specification test
* tests/spec/Makefile.am (TESTS): Add 'quote'. * tests/spec/oil.scm: Patch two of its tests and filter out six others.
This commit is contained in:
parent
06a0b5f885
commit
420ade9658
|
@ -18,6 +18,7 @@ TEST_EXTENSIONS = .sh
|
|||
SH_LOG_COMPILER = ./check-spec
|
||||
|
||||
TESTS = \
|
||||
oil/spec/quote.test.sh \
|
||||
oil/spec/redirect.test.sh \
|
||||
oil/spec/smoke.test.sh \
|
||||
oil/spec/word-split.test.sh
|
||||
|
|
|
@ -100,7 +100,20 @@
|
|||
out)))
|
||||
(loop (read-line in 'concat) transformers))))))))
|
||||
(tests-to-filter
|
||||
'(("spec/word-split.test.sh"
|
||||
'(("spec/quote.test.sh"
|
||||
(;; We match KornShell on these two tests.
|
||||
("Unterminated single quote"
|
||||
("OK mksh" "OK mksh/geesh"))
|
||||
("Unterminated double quote"
|
||||
("OK mksh" "OK mksh/geesh"))
|
||||
;; The rest of these are well beyond POSIX.
|
||||
("$''")
|
||||
("$'' with quotes")
|
||||
("$'' with newlines")
|
||||
("$'' octal escapes don't have leading 0")
|
||||
("$'' octal escapes with fewer than 3 chars")
|
||||
("$\"\"")))
|
||||
("spec/word-split.test.sh"
|
||||
(;; This test requires local variables, which is
|
||||
;; a Bash extension.
|
||||
("IFS is scoped")
|
||||
|
|
Loading…
Reference in New Issue