From 91f26baeee7a1144a10a062dced2a4c979d67b2a Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Tue, 16 Oct 2018 14:31:03 -0700 Subject: [PATCH] Revert "Move set -u down below self-exec" This reverts commit 6bde65a7384131052a5c90abaca5028615fc5186. --- tests/certbot-boulder-integration.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/certbot-boulder-integration.sh b/tests/certbot-boulder-integration.sh index a9df76bc2..3bee996ba 100755 --- a/tests/certbot-boulder-integration.sh +++ b/tests/certbot-boulder-integration.sh @@ -8,7 +8,7 @@ # # Note: this script is called by Boulder integration test suite! -set -ex +set -eux # Check that python executable is available in the PATH. Fail immediately if not. command -v python > /dev/null || (echo "Error, python executable is not in the PATH" && exit 1) @@ -21,9 +21,6 @@ command -v python > /dev/null || (echo "Error, python executable is not in the P # running it only when the CI environment variable is already set.] [ -z "$SYNTHETIC_PTY" ] && SYNTHETIC_PTY=true exec python -c 'import pty, sys; pty.spawn(sys.argv[1:])' "$0" "$@" -# The SYNTHETIC_PTY item above doesn't work if set -u has already been run. -set -u - . ./tests/integration/_common.sh export PATH="$PATH:/usr/sbin" # /usr/sbin/nginx