2022-06-01 00:40:22 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Optional: Import test library
|
|
|
|
source dev-container-features-test-lib
|
|
|
|
|
2022-06-03 17:46:25 +03:00
|
|
|
check "version 3.9 installed" ls -1 /usr/local/python/ | grep 3.9
|
|
|
|
check "version 3.8 installed" ls -1 /usr/local/python/ | grep 3.8
|
2022-06-01 00:40:22 +03:00
|
|
|
|
2022-06-03 17:46:25 +03:00
|
|
|
check "3.9 alias to python on path" python --version | grep 3.9
|
2022-06-01 00:40:22 +03:00
|
|
|
|
|
|
|
# Report result
|
|
|
|
reportResults
|