diff --git a/mozilla/security/nss/tests/chains/chains.sh b/mozilla/security/nss/tests/chains/chains.sh index 54fade6f25d..d7c57d24a23 100644 --- a/mozilla/security/nss/tests/chains/chains.sh +++ b/mozilla/security/nss/tests/chains/chains.sh @@ -188,6 +188,9 @@ chains_init() mkdir -p "${NSS_AIA_PATH}" SAVEPWD=`pwd` cd "${NSS_AIA_PATH}" + # Start_httpserv sets environment variables, which are required for + # correct cleanup. (Running it in a subshell doesn't work, the + # value of $SHELL_HTTPPID wouldn't arrive in this scope.) start_httpserv cd "${SAVEPWD}" fi