(git version change causes change in some output)
This commit is contained in:
parent
b6ba3cc975
commit
bd789c029b
|
@ -88,7 +88,7 @@ git test << FOOPC
|
|||
clone u4:foo foo4; !ok
|
||||
/R access for foo DENIED to u4/
|
||||
clone u4:foo-pc ; ok;
|
||||
/Cloning into foo-pc/
|
||||
/Cloning into 'foo-pc'/
|
||||
/new branch.* dev/u1/foo .* dev/u1/foo/
|
||||
/new branch.* master .* master/
|
||||
/new branch.* next .* next/
|
||||
|
|
|
@ -19,7 +19,7 @@ expect "remote: Initialized empty Git repository in $TEST_BASE_FULL/aa.git/"
|
|||
name "basic clone"
|
||||
cd ~/td
|
||||
runlocal git clone u1:aa u1aa
|
||||
expect "Cloning into u1aa..."
|
||||
expect "Cloning into 'u1aa'..."
|
||||
expect "warning: You appear to have cloned an empty repository"
|
||||
runlocal ls -ald --time-style=long-iso u1aa
|
||||
expect "drwxr-xr-x 3 $USER $USER 4096 201.-..-.. ..:.. u1aa"
|
||||
|
|
|
@ -144,7 +144,7 @@ repo @gr1
|
|||
notexpect ABORT
|
||||
cd ~/td
|
||||
runlocal git clone gitolite:r1
|
||||
expect "Cloning into r1..."
|
||||
expect "Cloning into 'r1'..."
|
||||
cd ~/td/r1
|
||||
mdc; mdc; mdc
|
||||
mdc; mdc; mdc
|
||||
|
@ -166,7 +166,7 @@ repo @gr2
|
|||
notexpect ABORT
|
||||
cd ~/td
|
||||
runlocal git clone gitolite:r2
|
||||
expect "Cloning into r2..."
|
||||
expect "Cloning into 'r2'..."
|
||||
cd ~/td/r2
|
||||
mdc; mdc; mdc
|
||||
mdc; mdc; mdc
|
||||
|
|
|
@ -53,7 +53,7 @@ expect "\* \[new branch\] master -> master"
|
|||
name "u1 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u1:foo/u4/a12 u1a12
|
||||
expect "Cloning into u1a12..."
|
||||
expect "Cloning into 'u1a12'..."
|
||||
|
||||
name "u1 push fail"
|
||||
cd ~/td/u1a12
|
||||
|
@ -64,7 +64,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 "Cloning into u2a12..."
|
||||
expect "Cloning into 'u2a12'..."
|
||||
|
||||
name "u2 push success"
|
||||
cd ~/td/u2a12
|
||||
|
@ -114,7 +114,7 @@ expect_filesame $TESTDIR/out/t04-wild1.2
|
|||
name "u5 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u5:foo/u4/a12 u5a12
|
||||
expect "Cloning into u5a12..."
|
||||
expect "Cloning into 'u5a12'..."
|
||||
|
||||
name "u5 push fail"
|
||||
cd ~/td/u5a12
|
||||
|
@ -125,7 +125,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 "Cloning into u6a12..."
|
||||
expect "Cloning into 'u6a12'..."
|
||||
|
||||
name "u6 push success"
|
||||
cd ~/td/u6a12
|
||||
|
|
|
@ -51,7 +51,7 @@ expect "\* \[new branch\] master -> master"
|
|||
name "u1 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u1:foo/u4/a12 u1a12
|
||||
expect "Cloning into u1a12..."
|
||||
expect "Cloning into 'u1a12'..."
|
||||
|
||||
name "u1 push fail"
|
||||
cd ~/td/u1a12
|
||||
|
@ -62,7 +62,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 "Cloning into u2a12..."
|
||||
expect "Cloning into 'u2a12'..."
|
||||
|
||||
name "u2 push success"
|
||||
cd ~/td/u2a12
|
||||
|
@ -112,7 +112,7 @@ expect_filesame $TESTDIR/out/t04-wild1.2
|
|||
name "u5 clone success"
|
||||
cd ~/td
|
||||
runlocal git clone u5:foo/u4/a12 u5a12
|
||||
expect "Cloning into u5a12..."
|
||||
expect "Cloning into 'u5a12'..."
|
||||
|
||||
name "u5 push fail"
|
||||
cd ~/td/u5a12
|
||||
|
@ -123,7 +123,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 "Cloning into u6a12..."
|
||||
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 "Cloning into abc..."
|
||||
expect "Cloning into 'abc'..."
|
||||
cd ~/td/abc
|
||||
mdc jfile; runlocal git push origin master
|
||||
expect "To u1:abc"
|
||||
|
|
|
@ -51,7 +51,7 @@ do
|
|||
expect "fatal: The remote end hung up unexpectedly"
|
||||
|
||||
runlocal git clone u3:dev/wild1
|
||||
expect "Cloning into wild1..."
|
||||
expect "Cloning into 'wild1'..."
|
||||
expect "Initialized empty Git repository in $TEST_BASE_FULL/dev/wild1.git/"
|
||||
expect "warning: You appear to have cloned an empty repository."
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ do
|
|||
name "push"
|
||||
cd ~/td
|
||||
runlocal git clone u2:foo/u1/bar u2bar
|
||||
expect "Cloning into u2bar..."
|
||||
expect "Cloning into 'u2bar'..."
|
||||
cd u2bar
|
||||
mdc u2file1
|
||||
runlocal git push
|
||||
|
@ -68,7 +68,7 @@ do
|
|||
|
||||
cd ~/td
|
||||
runlocal git clone u1:foo/u1/bar
|
||||
expect "Cloning into bar..."
|
||||
expect "Cloning into 'bar'..."
|
||||
|
||||
cd bar
|
||||
mdc u1file1
|
||||
|
@ -85,7 +85,7 @@ do
|
|||
name "push"
|
||||
cd ~/td
|
||||
runlocal git clone u2:foo/u1/bar u2bar
|
||||
expect "Cloning into u2bar..."
|
||||
expect "Cloning into 'u2bar'..."
|
||||
cd u2bar
|
||||
mdc u2file1
|
||||
runlocal git push
|
||||
|
|
|
@ -24,7 +24,7 @@ do
|
|||
cd ~/td
|
||||
name "check u1 can auto-create and push"
|
||||
runlocal git clone u1:aa
|
||||
expect "Cloning into aa..."
|
||||
expect "Cloning into 'aa'..."
|
||||
expect "warning: You appear to have cloned an empty repository"
|
||||
cd ~/td/aa
|
||||
mdc; mdc; mdc
|
||||
|
@ -47,7 +47,7 @@ do
|
|||
rm -rf aa
|
||||
name "check tester can rewind"
|
||||
runlocal git clone gitolite:aa
|
||||
expect "Cloning into aa..."
|
||||
expect "Cloning into 'aa'..."
|
||||
cd aa
|
||||
runlocal git reset --hard HEAD^
|
||||
runlocal git push origin +master
|
||||
|
@ -57,7 +57,7 @@ do
|
|||
rm -rf aa
|
||||
name "check u4 can only read"
|
||||
runlocal git clone u4:aa
|
||||
expect "Cloning into aa..."
|
||||
expect "Cloning into 'aa'..."
|
||||
cd aa
|
||||
mdc; mdc; mdc
|
||||
runlocal git push origin master
|
||||
|
@ -67,7 +67,7 @@ do
|
|||
rm -rf aa
|
||||
name "check u6 cant even read"
|
||||
runlocal git clone u6:aa
|
||||
expect "Cloning into aa..."
|
||||
expect "Cloning into 'aa'..."
|
||||
expect "R access for aa DENIED to u6"
|
||||
|
||||
# now the same thing with the repo-on-disk missing
|
||||
|
|
Loading…
Reference in a new issue