blob: ec72b52f05a93c65a58ea046f6f27f46c9d2eb73 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
set -e
# Optional: Import test library
source dev-container-features-test-lib
# Always run these checks as the non-root user
user="$(whoami)"
which python3
check "has python" python --version
result=$(python3 -c 'import select; print(select)')
echo "result: $result"
check "select is built-in" bash -c "python3 -c 'import select; print(select)' | grep 'built-in'"
reportResults
|