mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Make tests more cross platform. (#17154)
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user