Remove extra shells from the spec tests.
* tests/spec/oil.scm: Patch out all reference shells from the test suite expect for Bash.
This commit is contained in:
parent
c61b1d6fef
commit
7e65eae774
|
@ -50,10 +50,15 @@
|
||||||
(substitute* "test/common.sh"
|
(substitute* "test/common.sh"
|
||||||
(("/usr/bin/env time") (which "time")))
|
(("/usr/bin/env time") (which "time")))
|
||||||
|
|
||||||
;; We do not have the BusyBox shell, but the test suite
|
;; Disable all shells except for Bash. This is mostly for
|
||||||
;; will try to use it anyway. This change fixes that.
|
;; reproducibility, since it is annoying when the tests
|
||||||
|
;; fail because a different set of reference shells are
|
||||||
|
;; available.
|
||||||
(substitute* "test/spec.sh"
|
(substitute* "test/spec.sh"
|
||||||
(("BUSYBOX_ASH=_tmp/shells/ash") "BUSYBOX_ASH="))
|
(("BUSYBOX_ASH=_tmp/shells/ash") "BUSYBOX_ASH=")
|
||||||
|
(("readonly DASH=\\$[(]shell-path dash[)]") "readonly DASH=")
|
||||||
|
(("readonly MKSH=\\$[(]shell-path mksh[)]") "readonly MKSH=")
|
||||||
|
(("readonly ZSH=\\$[(]shell-path zsh[)]") "readonly ZSH="))
|
||||||
|
|
||||||
;; This is not necessary, but it makes the output nicer.
|
;; This is not necessary, but it makes the output nicer.
|
||||||
(substitute* "test/spec.sh"
|
(substitute* "test/spec.sh"
|
||||||
|
|
Loading…
Reference in New Issue