darn... git 1.7+ puts out different messages on clone...
This commit is contained in:
parent
bdb7cd6903
commit
e9787b03f8
|
@ -19,7 +19,7 @@ expect "remote: Initialized empty Git repository in /home/gitolite-test/reposito
|
|||
name "basic clone"
|
||||
cd ~/td
|
||||
runlocal git clone u1:aa u1aa
|
||||
expect "Initialized empty Git repository in /home/tester/td/u1aa/.git/"
|
||||
expect "Cloning into u1aa..."
|
||||
expect "warning: You appear to have cloned an empty repository"
|
||||
runlocal ls -ald u1aa
|
||||
expect "drwxr-xr-x 3 $USER $USER 4096 201.-..-.. ..:.. u1aa"
|
||||
|
|
|
@ -142,7 +142,7 @@ repo r1
|
|||
notexpect ABORT
|
||||
cd ~/td
|
||||
runlocal git clone gitolite:r1
|
||||
expect "Initialized empty Git repository in /home/tester/td/r1/.git/"
|
||||
expect "Cloning into r1..."
|
||||
cd ~/td/r1
|
||||
mdc; mdc; mdc
|
||||
mdc; mdc; mdc
|
||||
|
@ -163,7 +163,7 @@ repo r2
|
|||
notexpect ABORT
|
||||
cd ~/td
|
||||
runlocal git clone gitolite:r2
|
||||
expect "Initialized empty Git repository in /home/tester/td/r2/.git/"
|
||||
expect "Cloning into r2..."
|
||||
cd ~/td/r2
|
||||
mdc; mdc; mdc
|
||||
mdc; mdc; mdc
|
||||
|
|
|
@ -52,7 +52,7 @@ expect "\* \[new branch\] master -> master"
|
|||
name "u1 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u1:foo/u4/a12 u1a12
|
||||
expect "Initialized empty Git repository in /home/tester/td/u1a12/.git/"
|
||||
expect "Cloning into u1a12..."
|
||||
|
||||
name "u1 push fail"
|
||||
cd ~/td/u1a12
|
||||
|
@ -63,7 +63,7 @@ expect "W access for foo/u4/a12 DENIED to u1"
|
|||
name "u2 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u2:foo/u4/a12 u2a12
|
||||
expect "Initialized empty Git repository in /home/tester/td/u2a12/.git/"
|
||||
expect "Cloning into u2a12..."
|
||||
|
||||
name "u2 push success"
|
||||
cd ~/td/u2a12
|
||||
|
@ -113,7 +113,7 @@ expect_filesame $TESTDIR/out/t04-wild1.2
|
|||
name "u5 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u5:foo/u4/a12 u5a12
|
||||
expect "Initialized empty Git repository in /home/tester/td/u5a12/.git/"
|
||||
expect "Cloning into u5a12..."
|
||||
|
||||
name "u5 push fail"
|
||||
cd ~/td/u5a12
|
||||
|
@ -124,7 +124,7 @@ expect "W access for foo/u4/a12 DENIED to u5"
|
|||
name "u6 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u6:foo/u4/a12 u6a12
|
||||
expect "Initialized empty Git repository in /home/tester/td/u6a12/.git/"
|
||||
expect "Cloning into u6a12..."
|
||||
|
||||
name "u6 push success"
|
||||
cd ~/td/u6a12
|
||||
|
|
|
@ -50,7 +50,7 @@ expect "\* \[new branch\] master -> master"
|
|||
name "u1 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u1:foo/u4/a12 u1a12
|
||||
expect "Initialized empty Git repository in /home/tester/td/u1a12/.git/"
|
||||
expect "Cloning into u1a12..."
|
||||
|
||||
name "u1 push fail"
|
||||
cd ~/td/u1a12
|
||||
|
@ -61,7 +61,7 @@ expect "W access for foo/u4/a12 DENIED to u1"
|
|||
name "u2 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u2:foo/u4/a12 u2a12
|
||||
expect "Initialized empty Git repository in /home/tester/td/u2a12/.git/"
|
||||
expect "Cloning into u2a12..."
|
||||
|
||||
name "u2 push success"
|
||||
cd ~/td/u2a12
|
||||
|
@ -111,7 +111,7 @@ expect_filesame $TESTDIR/out/t04-wild1.2
|
|||
name "u5 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u5:foo/u4/a12 u5a12
|
||||
expect "Initialized empty Git repository in /home/tester/td/u5a12/.git/"
|
||||
expect "Cloning into u5a12..."
|
||||
|
||||
name "u5 push fail"
|
||||
cd ~/td/u5a12
|
||||
|
@ -122,7 +122,7 @@ expect "W access for foo/u4/a12 DENIED to u5"
|
|||
name "u6 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u6:foo/u4/a12 u6a12
|
||||
expect "Initialized empty Git repository in /home/tester/td/u6a12/.git/"
|
||||
expect "Cloning into u6a12..."
|
||||
|
||||
name "u6 push success"
|
||||
cd ~/td/u6a12
|
||||
|
|
|
@ -36,7 +36,7 @@ notexpect "failed to push"
|
|||
|
||||
cd ~/td
|
||||
runlocal git clone u1:abc
|
||||
expect "Initialized empty Git repository in /home/tester/td/abc/.git/"
|
||||
expect "Cloning into abc..."
|
||||
cd ~/td/abc
|
||||
mdc jfile; runlocal git push origin master
|
||||
expect "To u1:abc"
|
||||
|
|
|
@ -37,7 +37,7 @@ do
|
|||
name "push"
|
||||
cd ~/td
|
||||
runlocal git clone u2:foo/u1/bar u2bar
|
||||
expect "Initialized empty Git repository in /home/tester/td/u2bar/.git/"
|
||||
expect "Cloning into u2bar..."
|
||||
cd u2bar
|
||||
mdc u2file1
|
||||
runlocal git push
|
||||
|
@ -66,7 +66,7 @@ do
|
|||
|
||||
cd ~/td
|
||||
runlocal git clone u1:foo/u1/bar
|
||||
expect "Initialized empty Git repository in /home/gitolite-test/repositories/foo/u1/bar.git/"
|
||||
expect "Cloning into bar..."
|
||||
|
||||
cd bar
|
||||
mdc u1file1
|
||||
|
@ -83,7 +83,7 @@ do
|
|||
name "push"
|
||||
cd ~/td
|
||||
runlocal git clone u2:foo/u1/bar u2bar
|
||||
expect "Initialized empty Git repository in /home/tester/td/u2bar/.git/"
|
||||
expect "Cloning into u2bar..."
|
||||
cd u2bar
|
||||
mdc u2file1
|
||||
runlocal git push
|
||||
|
|
|
@ -34,14 +34,14 @@ do
|
|||
|
||||
name "u1 info"
|
||||
runlocal ssh u1 info
|
||||
expect "hello u1, the gitolite version here is v"
|
||||
expect "hello u1, the gitolite version here is"
|
||||
expect "@R.*@W.*testing"
|
||||
[ "$wr" = "1" ] && expect "C.*R.*W.*foo/u1/\\.\\+"
|
||||
|
||||
name "u1 expand"
|
||||
runlocal ssh u1 expand
|
||||
[ "$wr" = "0" ] && expect "wildrepos disabled, sorry"
|
||||
[ "$wr" = "1" ] && expect "hello u1, the gitolite version here is v"
|
||||
[ "$wr" = "1" ] && expect "hello u1, the gitolite version here is"
|
||||
[ "$wr" = "1" ] && expect "R.*W.*(u1).*foo/u1/bar"
|
||||
[ "$wr" = "1" ] && expect "@R.*@W.*testing"
|
||||
|
||||
|
|
Loading…
Reference in a new issue