summaryrefslogtreecommitdiff
path: root/test/push
blob: 8463e61a2363ac8360d5ed409dfa7f8c3af808be (plain)
1
2
3
4
5
6
7
8
9
10
11
## vim:ft=zsh
somefile=$RANDOM
touch $somefile
git add $somefile
git commit --quiet -m $somefile
pkg push
if [[ $repo == *-bare ]] {
	[[ $(git --git-dir=$test_proot/$repo log --pretty=oneline | head -1) == *$somefile ]]
} else {
	[[ $(git --git-dir=$test_proot/$repo/.git log --pretty=oneline | head -1) == *$somefile ]]
}