summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2012-03-21 19:21:12 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2012-03-24 10:30:45 +0530
commit8dc43affdb537a9d94a79a97ca117e6f5f3c5569 (patch)
tree9bf1716cd48c5714300ee40b2d2d5225a909e2f5 /t
parenttest daemon/gitweb updates by setting perms (diff)
downloadgitolite-gentoo-8dc43affdb537a9d94a79a97ca117e6f5f3c5569.tar.gz
gitolite-gentoo-8dc43affdb537a9d94a79a97ca117e6f5f3c5569.tar.bz2
gitolite-gentoo-8dc43affdb537a9d94a79a97ca117e6f5f3c5569.zip
minor changes to testing setup
Diffstat (limited to 't')
-rwxr-xr-xt/reset23
1 files changed, 22 insertions, 1 deletions
diff --git a/t/reset b/t/reset
index cfdc3db..fa9bbcf 100755
--- a/t/reset
+++ b/t/reset
@@ -9,4 +9,25 @@ BEGIN {
# this is hardcoded; change it if needed
use lib "src";
use Gitolite::Test;
-try 'put';
+
+use Cwd;
+my $workdir = getcwd();
+
+confreset;confadd '
+ repo foo/..*
+ C = u1 u2 u3
+ RW+ = CREATOR
+ RW = WRITERS
+ R = READERS
+';
+
+try "ADMIN_PUSH set1; !/FATAL/" or die text();
+
+try "
+ mkdir -p keydir
+ cp \$HOME/.ssh/u*.pub keydir
+ cp \$HOME/.ssh/admin.pub keydir
+ git add keydir
+ git commit -m 6k
+ glt push admin origin
+";