Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update checks
  • Loading branch information
samruddhikhandale committed Jan 17, 2023
commit b28b51aa0184b5f4b1ddc2fb3e5ee513afafbd5d
4 changes: 3 additions & 1 deletion src/base-ubuntu/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ check "Oh My Zsh! theme" test -e $HOME/.oh-my-zsh/custom/themes/devcontainers.zs
check "zsh theme symlink" test -e $HOME/.oh-my-zsh/custom/themes/codespaces.zsh-theme

check "git" git --version
check "git-location" sh -c "which git | grep /usr/local/bin/git"

git_version=$(git --version)
check-version-ge "git-requirement" "${git_version}" "git version 2.34.1"

check "set-git-config-user-name" sh -c "sudo git config --system user.name devcontainers"
check "gitconfig-file-location" sh -c "ls /etc/gitconfig"
Expand Down
4 changes: 3 additions & 1 deletion src/universal/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ source test-utils.sh codespace
checkCommon

check "git" git --version
check "git-location" sh -c "which git | grep /usr/local/bin/git"

git_version=$(git --version)
check-version-ge "git-requirement" "${git_version}" "git version 2.25.1"

check "set-git-config-user-name" sh -c "sudo git config --system user.name devcontainers"
check "gitconfig-file-location" sh -c "ls /etc/gitconfig"
Expand Down