From 2991c5d47cccc3e436a420bc96940e851dd9b5cb Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Tue, 19 Feb 2019 13:19:54 +1000 Subject: [PATCH] foreman: Use generic python in test run (#52544) --- 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 18e9e153f8d..64441572e0d 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="$("${ANSIBLE_TEST_PYTHON_INTERPRETER}" -c "import os; print(os.path.abspath('${REL_SCRIPT}'))")" +ABS_SCRIPT="$("python.py" -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}"