mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Make tests more cross platform. (#17154)
This commit is contained in:
parent
fa395bee7b
commit
04bd6a3619
4 changed files with 19 additions and 22 deletions
|
@ -47,21 +47,6 @@ pip install \
|
|||
virtualenv \
|
||||
jmespath
|
||||
|
||||
# FIXME: tests assume bash is in /bin/bash
|
||||
if [ ! -f /bin/bash ]; then
|
||||
ln -s /usr/local/bin/bash /bin/bash
|
||||
fi
|
||||
|
||||
# FIXME: tests assume true is in /bin/true
|
||||
if [ ! -f /bin/true ]; then
|
||||
ln -s /usr/bin/true /bin/true
|
||||
fi
|
||||
|
||||
# FIXME: tests assume sha1sum is available (some platforms have shasum instead)
|
||||
if [ ! -f /usr/local/bin/sha1sum ]; then
|
||||
ln -s /usr/local/bin/shasum /usr/local/bin/sha1sum
|
||||
fi
|
||||
|
||||
# Tests assume loopback addresses other than 127.0.0.1 will work.
|
||||
# Add aliases for loopback addresses used by tests.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue