diff options
Diffstat (limited to 'test/integration/targets/pull_no_127/runme.sh')
-rwxr-xr-x | test/integration/targets/pull_no_127/runme.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/targets/pull_no_127/runme.sh b/test/integration/targets/pull_no_127/runme.sh new file mode 100755 index 0000000000..cdb8e057a4 --- /dev/null +++ b/test/integration/targets/pull_no_127/runme.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -eux + +# http://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x +MYTMPDIR=$(shell mktemp -d 2>/dev/null || mktemp -d -t 'ansible-testing-XXXXXXXXXX') +trap 'rm -rf "${MYTMPDIR}"' EXIT + +# test for https://github.com/ansible/ansible/issues/13681 +ansible-pull -d "${MYTMPDIR}" -U https://github.com/ansible-test-robinro/pull-integration-test "$@" \ + | grep -v '127\.0\.0\.1' |