mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Split integration tests out from Makefile. (#17976)
This commit is contained in:
10
test/integration/targets/pull_limit_inventory/runme.sh
Executable file
10
test/integration/targets/pull_limit_inventory/runme.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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/13688
|
||||
ansible-pull -d "${MYTMPDIR}" -U https://github.com/ansible-test-robinro/pull-integration-test "$@"
|
||||
Reference in New Issue
Block a user