diff --git a/contrib/partial-copy/t.sh b/contrib/partial-copy/t.sh index aeecd7e..122fe6e 100755 --- a/contrib/partial-copy/t.sh +++ b/contrib/partial-copy/t.sh @@ -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/ diff --git a/t/t00-initial b/t/t00-initial index c0825c2..82b3ed4 100644 --- a/t/t00-initial +++ b/t/t00-initial @@ -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" diff --git a/t/t03a-branch-permissions b/t/t03a-branch-permissions index 1495250..6977cdd 100644 --- a/t/t03a-branch-permissions +++ b/t/t03a-branch-permissions @@ -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 diff --git a/t/t04a-wild-all b/t/t04a-wild-all index 951c9b4..b3648d4 100644 --- a/t/t04a-wild-all +++ b/t/t04a-wild-all @@ -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 diff --git a/t/t04a-wild-students b/t/t04a-wild-students index 1b385ed..148d13e 100644 --- a/t/t04a-wild-students +++ b/t/t04a-wild-students @@ -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 diff --git a/t/t09a-oldtests b/t/t09a-oldtests index cabfe0c..aad5626 100644 --- a/t/t09a-oldtests +++ b/t/t09a-oldtests @@ -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" diff --git a/t/t10-all-yall b/t/t10-all-yall index a3e1f54..51d1f24 100644 --- a/t/t10-all-yall +++ b/t/t10-all-yall @@ -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." diff --git a/t/t50-sequence-test b/t/t50-sequence-test index 2950fa9..6a5aa78 100644 --- a/t/t50-sequence-test +++ b/t/t50-sequence-test @@ -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 diff --git a/t/t59-repo-not-on-disk b/t/t59-repo-not-on-disk index 4665c87..513a1fd 100644 --- a/t/t59-repo-not-on-disk +++ b/t/t59-repo-not-on-disk @@ -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