2022-05-25 23:11:44 +03:00
|
|
|
#!/bin/bash
|
2022-05-13 03:07:22 +03:00
|
|
|
|
2022-05-25 23:11:44 +03:00
|
|
|
set -e
|
2022-05-13 03:07:22 +03:00
|
|
|
|
2022-05-25 23:11:44 +03:00
|
|
|
# Optional: Import test library
|
|
|
|
source dev-container-features-test-lib
|
2022-05-13 03:07:22 +03:00
|
|
|
|
2022-05-25 23:11:44 +03:00
|
|
|
# Definition specific tests
|
|
|
|
check "jq" jq --version
|
|
|
|
check "curl" curl --version
|
2022-12-16 20:47:21 +03:00
|
|
|
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/devcontainers.zsh-theme
|
|
|
|
check "zsh theme symlink" test -e $HOME/.oh-my-zsh/custom/themes/codespaces.zsh-theme
|
2022-05-13 03:07:22 +03:00
|
|
|
|
2022-05-25 23:11:44 +03:00
|
|
|
# Report result
|
|
|
|
reportResults
|