]> diplodocus.org Git - nmh/blobdiff - test/install-mh/test-version-check
Fix unlikely bug in oauth's make_query_url() of base_url overflow.
[nmh] / test / install-mh / test-version-check
index 1314f643988f0d2c68457b1fef58b04453d69c5b..e9a2ce7463df34cd8340b8a2e16b4e3810478f56 100755 (executable)
@@ -34,8 +34,8 @@ echo OK
 EOF
     chmod +x "${cmd}"
 
 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
     if grep OK "${actual}" >/dev/null; then
         #### script(1) supports SHELL environment variable.
         use_dash_S=0