18 lines
396 B
Bash
18 lines
396 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# Optional: Import test library
|
||
|
source dev-container-features-test-lib
|
||
|
|
||
|
# Definition specific tests
|
||
|
check "non-root user" test "$(whoami)" = "vscode"
|
||
|
check "jq" jq --version
|
||
|
check "curl" curl --version
|
||
|
check "git" git --version
|
||
|
check "zsh" zsh --version
|
||
|
check "ps" ps --version
|
||
|
check "Oh My Zsh! theme" test -e $HOME/.oh-my-zsh/custom/themes
|
||
|
|
||
|
# Report result
|
||
|
reportResults
|