Remove the BusyBox shell from specification tests
* tests/spec/oil.scm: Patch the test suite script to prevent it from trying to run the BusyBox shell.
This commit is contained in:
parent
6805fc37b4
commit
f33669e636
|
@ -50,6 +50,11 @@
|
||||||
(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
|
||||||
|
;; will try to use it anyway. This change fixes that.
|
||||||
|
(substitute* "test/spec.sh"
|
||||||
|
(("BUSYBOX_ASH=_tmp/shells/ash") "BUSYBOX_ASH="))
|
||||||
|
|
||||||
;; 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"
|
||||||
(("which \\$name") "which $name 2>/dev/null"))
|
(("which \\$name") "which $name 2>/dev/null"))
|
||||||
|
|
Loading…
Reference in New Issue