From 73b52294cddd86c222dffb0e5b6511b94beae62d Mon Sep 17 00:00:00 2001 From: dcarrillo Date: Tue, 24 Dec 2019 18:02:56 +0100 Subject: [PATCH] Fix 'the input device is not a TTY' error when running tests in github --- tests/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.sh b/tests/test.sh index 827bb77..494475d 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -70,8 +70,8 @@ docker run --name "${NGINX_VERSION}"_test --rm \ echo "Preparing requester container..." docker run --name "${NGINX_VERSION}"_requester --rm --link "${NGINX_VERSION}"_test \ - -ti -d $ALPINE_VERSION sh > /dev/null -exec_docker="docker exec -ti ${NGINX_VERSION}_requester" + -i -d $ALPINE_VERSION sh > /dev/null +exec_docker="docker exec -i ${NGINX_VERSION}_requester" $exec_docker apk add curl > /dev/null for request in http://${NGINX_VERSION}_test/nginx_status https://${NGINX_VERSION}_test/nginx_status; do