diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2020-04-13 14:59:52 -0400 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2020-04-15 12:47:55 -0700 |
commit | 0b224d657ddd25b997720038adc52aefe9e714f1 (patch) | |
tree | 59da6853bc285784a07ceaeafc1332002c1cb4fe | |
parent | c558023f7aa77d13767dd4f11a37229a0014b04f (diff) | |
download | ansible-0b224d657ddd25b997720038adc52aefe9e714f1.tar.gz |
added trap
-rwxr-xr-x | test/integration/targets/fetch/runme.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/targets/fetch/runme.sh b/test/integration/targets/fetch/runme.sh index 4a78b2cd7f..dd9b55b784 100755 --- a/test/integration/targets/fetch/runme.sh +++ b/test/integration/targets/fetch/runme.sh @@ -4,6 +4,8 @@ set -eux OUTPUT_DIR=${OUTPUT_DIR:-$(mktemp -d)} +trap 'rm -rf "${OUTPUT_DIR}"' EXIT + # setup required roles ln -s ../../prepare_tests roles/prepare_tests |