summaryrefslogtreecommitdiff
path: root/test/main
diff options
context:
space:
mode:
Diffstat (limited to 'test/main')
-rwxr-xr-xtest/main14
1 files changed, 13 insertions, 1 deletions
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
}
}