summaryrefslogtreecommitdiff
path: root/test/setup
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-21 23:05:11 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-21 23:05:11 +0200
commitd6e476488b760e5e06d629cdd1e101a03f48c2ba (patch)
tree2a947e8cb8e528ccc004cd0166e2ae42ecd4d7a7 /test/setup
parent5884918d9bf90cceba6c992f46b0437fbbcdbd1e (diff)
Added tests for GIT_USE_ORIGIN
Diffstat (limited to 'test/setup')
-rw-r--r--test/setup24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/setup b/test/setup
new file mode 100644
index 0000000..ac82c31
--- /dev/null
+++ b/test/setup
@@ -0,0 +1,24 @@
+## vim:ft=zsh
+echo "# setting up PKG_ROOT"
+cd $test_proot
+git clone ${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
+ touch foo
+ mkdir bin
+ touch bin/$repo
+ mkdir -p man/2
+ echo "=head1 WASTED SPACE\n\nhuhu" > man/2/$repo
+ chmod 755 bin/$repo
+ git add .
+ git commit -m 'initial commit'
+ cd ..
+ mkdir ${repo}-bare
+ cd ${repo}-bare
+ git --bare init
+ cd ../$repo
+ git push ../${repo}-bare master
+)