From f7f05f76fabda70f4fbcaefd55e6fe6fd09a8145 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Thu, 10 Nov 2022 17:03:21 -0800 Subject: Fix regression with Azure CLI, privs (#272) --- test/python/install_additional_python.sh | 1 + test/python/install_os_provided_python.sh | 1 + test/python/install_via_oryx.sh | 1 + test/python/test.sh | 1 + 4 files changed, 4 insertions(+) (limited to 'test') diff --git a/test/python/install_additional_python.sh b/test/python/install_additional_python.sh index bbd6c13..caf2a19 100755 --- a/test/python/install_additional_python.sh +++ b/test/python/install_additional_python.sh @@ -24,6 +24,7 @@ check "pylint" pylint --version # Check paths in settings check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python" +check "current symlink works" /usr/local/python/current/bin/python --version check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8" check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black" check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf" diff --git a/test/python/install_os_provided_python.sh b/test/python/install_os_provided_python.sh index e65b154..3eb014c 100755 --- a/test/python/install_os_provided_python.sh +++ b/test/python/install_os_provided_python.sh @@ -23,6 +23,7 @@ check "pylint" pylint --version # Check paths in settings check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python" +check "current symlink works" /usr/local/python/current/bin/python --version check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8" check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black" check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf" diff --git a/test/python/install_via_oryx.sh b/test/python/install_via_oryx.sh index e65b154..3eb014c 100755 --- a/test/python/install_via_oryx.sh +++ b/test/python/install_via_oryx.sh @@ -23,6 +23,7 @@ check "pylint" pylint --version # Check paths in settings check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python" +check "current symlink works" /usr/local/python/current/bin/python --version check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8" check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black" check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf" diff --git a/test/python/test.sh b/test/python/test.sh index 8f7d336..832763d 100755 --- a/test/python/test.sh +++ b/test/python/test.sh @@ -23,6 +23,7 @@ check "pylint" pylint --version # Check paths in settings check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python" +check "current symlink works" /usr/local/python/current/bin/python --version check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8" check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black" check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf" -- cgit v1.2.3