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:
Timothy Sample 2018-11-15 21:15:08 -05:00
parent 6805fc37b4
commit f33669e636
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,11 @@
(substitute* "test/common.sh"
(("/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.
(substitute* "test/spec.sh"
(("which \\$name") "which $name 2>/dev/null"))