c45d193af4
This avoids confusion with tests named `inventory_*` which do not test inventory plugins. Tests for inventory scripts are now prefixed with `script_inventory_`.
5 lines
245 B
Bash
Executable file
5 lines
245 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Wrapper to use the correct Python interpreter and support code coverage.
|
|
ABS_SCRIPT=$(python -c "import os; print(os.path.abspath('../../../../contrib/inventory/ec2.py'))")
|
|
cd "${OUTPUT_DIR}"
|
|
python.py "${ABS_SCRIPT}" "$@"
|