From 52a8957b6eb56114308c5f2e90fc5b4a836ed7c1 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Mon, 25 Feb 2019 11:50:28 -0800 Subject: [PATCH] Revert "foreman: Use generic python in test run (#52544)" Cannot use `python.py` with `-c`. This reverts commit 2991c5d47cccc3e436a420bc96940e851dd9b5cb. --- test/integration/targets/inventory_foreman_script/foreman.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"