Debian Codegraph @

test/integration/targets/ansible-test-metadata/runme.sh

raw
1 #!/usr/bin/env bash
2 # Verify that importlib.metadata can find ansible-core using the PYTHONPATH set by ansible-test.
3 # Regression test for https://github.com/ansible/ansible/issues/86695
4
5 set -eux
6
7 VERSION=$(python -c "from importlib.metadata import version; print(version('ansible-core'))")
8
9 test "$VERSION" = "$ANSIBLE_TEST_ANSIBLE_VERSION"