From d6e476488b760e5e06d629cdd1e101a03f48c2ba Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 21 Apr 2009 23:05:11 +0200 Subject: Added tests for GIT_USE_ORIGIN --- test/setup | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test/setup (limited to 'test/setup') 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 +) -- cgit v1.2.3