diff options
-rw-r--r-- | test/documentation | 5 | ||||
-rwxr-xr-x | test/main | 1 | ||||
-rw-r--r-- | test/pull-prepare | 4 | ||||
-rw-r--r-- | test/push | 2 | ||||
-rw-r--r-- | test/setup | 8 |
5 files changed, 9 insertions, 11 deletions
diff --git a/test/documentation b/test/documentation index 61bffa0..08246dc 100644 --- a/test/documentation +++ b/test/documentation @@ -1,7 +1,4 @@ ## vim:ft=zsh -alias podchecker='podchecker -warnings -warnings' echo "# Documentation" podchecker bin/checklinks -for file in man/*/*; { - podchecker $file -} +podchecker -warnings -warnings man/*/* @@ -3,6 +3,7 @@ unset -m 'GIT_*' setopt err_exit trap "print -P '\n%N:%i: %B%F{red}Test faild!%F{default}%b'" ZERR +alias pkg='pkg --quiet' source test/documentation diff --git a/test/pull-prepare b/test/pull-prepare index a7022fe..c50ad8e 100644 --- a/test/pull-prepare +++ b/test/pull-prepare @@ -2,8 +2,8 @@ if [[ $repo == $file ]] { echo "# Creating new commit in PKG_ROOT" cd $test_proot/$file - git checkout -f + git checkout -q -f echo $RANDOM > baz git add baz - git commit -m 'floeppel' + git commit --quiet -m 'floeppel' } @@ -2,7 +2,7 @@ somefile=$RANDOM touch $somefile git add $somefile -git commit -m $somefile +git commit --quiet -m $somefile pkg push if [[ $repo == *-bare ]] { [[ $(git --git-dir=$test_proot/$repo log --pretty=oneline | head -1) == *$somefile ]] @@ -1,12 +1,12 @@ ## vim:ft=zsh echo "# setting up PKG_ROOT" cd $test_proot -git clone ${1-git://git.tabularazor.org/~derf/pkg} core +git clone --quiet ${1-git://git.tabularazor.org/~derf/pkg} core cp core/include/pkglist pkglist for repo in ra rb rc; ( mkdir $repo cd $repo - git init + git init --quiet git config receive.denyCurrentBranch ignore touch foo mkdir bin @@ -16,11 +16,11 @@ for repo in ra rb rc; ( chmod 755 bin/$repo echo 'touch ~/prereq_ok_'$repo > prereqs git add . - git commit -m 'initial commit' + git commit --quiet -m 'initial commit' cd .. mkdir ${repo}-bare cd ${repo}-bare - git --bare init + git --bare init --quiet cd ../$repo git push ../${repo}-bare master ) |