From e644e8fbed28223c972249edbfe24c62c52ad84d Mon Sep 17 00:00:00 2001 From: David Levine Date: Fri, 14 Oct 2016 16:53:27 -0400 Subject: [PATCH] Try running script(1) for SHELL test in subshell. --- test/install-mh/test-version-check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/install-mh/test-version-check b/test/install-mh/test-version-check index 1314f643..e9a2ce74 100755 --- a/test/install-mh/test-version-check +++ b/test/install-mh/test-version-check @@ -34,8 +34,8 @@ echo OK EOF chmod +x "${cmd}" - SHELL="${cmd}" script "${actual}" >/dev/null & - wait $! + (SHELL="${cmd}"; export SHELL; script "${actual}" >/dev/null & + wait $!) if grep OK "${actual}" >/dev/null; then #### script(1) supports SHELL environment variable. use_dash_S=0 -- 2.56.0