diff options
author | Matt Martz <matt@sivel.net> | 2020-04-28 22:33:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 22:33:44 +0200 |
commit | bc41dd45141f627b31fbb04443fbaa1ea0c7d1d4 (patch) | |
tree | ff3bbffa283bc9f8fe91c17bb0107dea821c1bcc /test/integration/targets/ansible-galaxy/runme.sh | |
parent | Be strict about what is a boolean for keywords (#67625) (diff) | |
download | ansible-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-x | test/integration/targets/ansible-galaxy/runme.sh | 14 |
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 |