summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2019-02-25 11:50:28 -0800
committerMatt Clay <matt@mystile.com>2019-02-25 12:16:23 -0800
commit52a8957b6eb56114308c5f2e90fc5b4a836ed7c1 (patch)
treef1f4deb3f129e4c5487452570ecca5df6a004b66
parent4eb9c591d7bf5e0232a7e74105a46d8fff231dec (diff)
downloadansible-52a8957b6eb56114308c5f2e90fc5b4a836ed7c1.tar.gz
Revert "foreman: Use generic python in test run (#52544)"
Cannot use `python.py` with `-c`. This reverts commit 2991c5d47cccc3e436a420bc96940e851dd9b5cb.
-rwxr-xr-xtest/integration/targets/inventory_foreman_script/foreman.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/inventory_foreman_script/foreman.sh b/test/integration/targets/inventory_foreman_script/foreman.sh
index 64441572e0..18e9e153f8 100755
--- a/test/integration/targets/inventory_foreman_script/foreman.sh
+++ b/test/integration/targets/inventory_foreman_script/foreman.sh
@@ -2,7 +2,7 @@
# Wrapper to use the correct Python interpreter and support code coverage.
REL_SCRIPT="../../../../contrib/inventory/foreman.py"
-ABS_SCRIPT="$("python.py" -c "import os; print(os.path.abspath('${REL_SCRIPT}'))")"
+ABS_SCRIPT="$("${ANSIBLE_TEST_PYTHON_INTERPRETER}" -c "import os; print(os.path.abspath('${REL_SCRIPT}'))")"
# Make sure output written to current directory ends up in the temp dir.
cd "${OUTPUT_DIR}"