From 8f2e0fb1e5972e1fe1b267f5939c60097d28b3f3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 22 Apr 2009 10:44:15 +0200 Subject: Added tests for pkg push --- test/main | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'test/main') diff --git a/test/main b/test/main index 59bc5df..bf5df36 100755 --- a/test/main +++ b/test/main @@ -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 } } -- cgit v1.2.3