aboutsummaryrefslogtreecommitdiff
path: root/test/python/install_additional_python.sh
blob: 00e43d81c7d4774ecdef97b42a1a683c32e93669 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e

# Optional: Import test library
source dev-container-features-test-lib

check "python version 3.11 installed as default" python --version | grep 3.11
check "python3 version 3.11 installed as default" python3 --version | grep 3.11
check "python version 3.10.5 installed"  ls -l /usr/local/python | grep 3.10.5
check "python version 3.8.13 installed"  ls -l /usr/local/python | grep 3.8.13
check "python version 3.9.13 installed"  ls -l /usr/local/python | grep 3.9.13

# Report result
reportResults