From f33669e636d2375e7ba2e3c1cd037124aff39a2c Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Thu, 15 Nov 2018 21:15:08 -0500 Subject: [PATCH] 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. --- tests/spec/oil.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/spec/oil.scm b/tests/spec/oil.scm index fde8e80..775c8ee 100644 --- a/tests/spec/oil.scm +++ b/tests/spec/oil.scm @@ -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"))