diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-22 10:44:15 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-22 10:44:15 +0200 |
commit | 8f2e0fb1e5972e1fe1b267f5939c60097d28b3f3 (patch) | |
tree | fcdcf74299ddccd1cc152f7670e2a990a03dc401 /test/main | |
parent | d6e476488b760e5e06d629cdd1e101a03f48c2ba (diff) |
Added tests for pkg push
Diffstat (limited to 'test/main')
-rwxr-xr-x | test/main | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -58,7 +58,19 @@ for conf_origin in 0 1; { echo "## GIT_USE_ORIGIN=$conf_origin" echo "GIT_USE_ORIGIN=$conf_origin" >> $test_home/.pkg.conf for repo in ra ra-bare; { - source $tests/addremove + file=${repo%-*} + if [[ $repo == *-bare ]] { + echo "## bare repository" + complement=$file + } else { + echo "## non-bare repository" + complement=${repo}-bare + } + source $tests/add + cd $test_pdir/$repo + source $tests/push + cd $test_pdir + source $tests/remove } } |