summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-galaxy/runme.sh
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2020-04-28 22:33:44 +0200
committerGitHub <noreply@github.com>2020-04-28 22:33:44 +0200
commitbc41dd45141f627b31fbb04443fbaa1ea0c7d1d4 (patch)
treeff3bbffa283bc9f8fe91c17bb0107dea821c1bcc /test/integration/targets/ansible-galaxy/runme.sh
parentBe strict about what is a boolean for keywords (#67625) (diff)
downloadansible-bc41dd45141f627b31fbb04443fbaa1ea0c7d1d4.tar.xz
ansible-bc41dd45141f627b31fbb04443fbaa1ea0c7d1d4.zip
Handle non-ascii paths during role installation. Fixes #69133 (#69213)
Diffstat (limited to 'test/integration/targets/ansible-galaxy/runme.sh')
-rwxr-xr-xtest/integration/targets/ansible-galaxy/runme.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/integration/targets/ansible-galaxy/runme.sh b/test/integration/targets/ansible-galaxy/runme.sh
index 0af7f20f7b..61cee57b71 100755
--- a/test/integration/targets/ansible-galaxy/runme.sh
+++ b/test/integration/targets/ansible-galaxy/runme.sh
@@ -290,6 +290,20 @@ pushd "${role_testdir}"
popd # ${role_testdir}
rm -rf "${role_testdir}"
+f_ansible_galaxy_status \
+ "Test role with non-ascii characters"
+
+role_testdir=$(mktemp -d)
+pushd "${role_testdir}"
+
+ mkdir nonascii
+ ansible-galaxy role init --init-path ./nonascii nonascii
+ touch nonascii/ÅÑŚÌβŁÈ.txt
+ tar czvf nonascii.tar.gz nonascii
+ ansible-galaxy role install -p ./roles nonascii.tar.gz
+
+popd # ${role_testdir}
+rm -rf "${role_testdir}"
#################################
# ansible-galaxy collection tests