No subject
Thu Jun 12 23:09:36 BST 2008
Created commit 3dc47c1: Second
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 file2
* ok 1: setup
* expecting success:
(
cd another &&
git push .. master:master
test $? = 1
)
To ..
! [rejected] master -> master (non-fast forward)
error: failed to push some refs to '..'
* ok 2: non forced push should die not segfault
* expecting success:
(
cd another &&
git push .. +master:master
)
Counting objects: 3, done.
Writing objects: 33% (1/3)
Writing objects: 66% (2/3)
Writing objects: 100% (3/3)
Writing objects: 100% (3/3), 215 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To ..
+ 3dc47c16ee5643e194be2cbbbdb3f6fb365967dd...de5945f master -> master (forced update)
* ok 3: forced push should succeed
* passed all 3 test(s)
*** t5406-remote-rejects.sh ***
* expecting success:
mkdir .git/hooks &&
(echo "#!/bin/sh" ; echo "exit 1") >.git/hooks/update &&
chmod +x .git/hooks/update &&
echo 1 >file &&
git add file &&
git commit -m 1 &&
git clone . child &&
cd child &&
echo 2 >file &&
git commit -a -m 2
Created initial commit 7a64023: 1
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 file
Initialized empty Git repository in /build/buildd/git-core-1.5.4.3/t/trash/child/.git/
0 blocks
Created commit 629ffd8: 2
1 files changed, 1 insertions(+), 1 deletions(-)
* ok 1: setup
* expecting success: ! git push 2>stderr
* ok 2: push reports error
* expecting success: grep rejected stderr
! [remote rejected] master -> master (hook declined)
* ok 3: individual ref reports error
* passed all 3 test(s)
*** t5500-fetch-pack.sh ***
Initialized empty Git repository in .git/
* expecting success: git-fetch-pack -k -v .. B A
Server supports multi_ack
Server supports side-band-64k
want 17b7bb93b36c4088c829dd9e92068365cce0c4a2 (refs/heads/B)
want af28e88615bb279041ce67f4ba5ea0c49321f9d8 (refs/heads/A)
done
remote: Counting objects: 33, done.[K
remote: Compressing objects: 9% (1/11) [K
remote: Compressing objects: 18% (2/11) [K
remote: Compressing objects: 27% (3/11) [K
remote: Compressing objects: 36% (4/11) [K
remote: Compressing objects: 45% (5/11) [K
remote: Compressing objects: 54% (6/11) [K
remote: Compressing objects: 63% (7/11) [K
remote: Compressing objects: 72% (8/11) [K
remote: Compressing objects: 81% (9/11) [K
remote: Compressing objects: 90% (10/11) [K
remote: Compressing objects: 100% (11/11) [K
remote: Compressing objects: 100% (11/11), done.[K
Receiving objects: 3% (1/33)
Receiving objects: 6% (2/33)
Receiving objects: 9% (3/33)
Receiving objects: 12% (4/33)
Receiving objects: 15% (5/33)
Receiving objects: 18% (6/33)
Receiving objects: 21% (7/33)
Receiving objects: 24% (8/33)
Receiving objects: 27% (9/33)
Receiving objects: 30% (10/33)
Receiving objects: 33% (11/33)
Receiving objects: 36% (12/33)
Receiving objects: 39% (13/33)
Receiving objects: 42% (14/33)
Receiving objects: 45% (15/33)
Receiving objects: 48% (16/33)
Receiving objects: 51% (17/33)
Receiving objects: 54% (18/33)
Receiving objects: 57% (19/33)
Receiving objects: 60% (20/33)
Receiving objects: 63% (21/33)
Receiving objects: 66% (22/33)
Receiving objects: 69% (23/33)
Receiving objects: 72% (24/33)
Receiving objects: 75% (25/33)
Receiving objects: 78% (26/33)
Receiving objects: 81% (27/33)
Receiving objects: 84% (28/33)
Receiving objects: 87% (29/33)
Receiving objects: 90% (30/33)
Receiving objects: 93% (31/33)
Receiving objects: 96% (32/33)
Receiving objects: 100% (33/33)
remote: Total 33 (delta 1), reused 0 (delta 0)[K
Receiving objects: 100% (33/33), done.
Resolving deltas: 100% (1/1)
Resolving deltas: 100% (1/1), done.
pack 48a0e22ae49ce9894fea5e46155fa281d4cd41b9
17b7bb93b36c4088c829dd9e92068365cce0c4a2 refs/heads/B
af28e88615bb279041ce67f4ba5ea0c49321f9d8 refs/heads/A
* ok 1: 1st pull
* expecting success: git fsck --full > fsck.txt 2>&1
* ok 2: fsck
* expecting success: mv .git/objects/pack/pack-* . &&
p=`ls -1 pack-*.pack` &&
git unpack-objects <$p &&
git fsck --full
* ok 3: check downloaded results
* expecting success: idx=`echo pack-*.idx` &&
pack_count=`git show-index <$idx | wc -l` &&
test $pack_count = $count
* ok 4: new object count after 1st pull
* expecting success: test 33 = 33
* ok 5: minimal count
* expecting success: git-fetch-pack -k -v .. B
Server supports multi_ack
Server supports side-band-64k
want b358779c25a204f435ea260b6984ca61934afdfc (refs/heads/B)
have af28e88615bb279041ce67f4ba5ea0c49321f9d8
have 17b7bb93b36c4088c829dd9e92068365cce0c4a2
have 4a972b121cc0ccc950be6880af3b4bce19014542
have a780e601960e1ecb356126f07f41e7f254e3dfda
have 5cb332e39f23fc2b463731b9d804acdb760822c4
have d8be0286ef2c3a494a5b07c1d31be78702da6559
have 7aa46552ba2735529e707a87e247c9a178f8f62a
have 92823919838a3046e81122ca7ef968534fa07fe9
have c44e6a1887910e1e3c77a1d848fa915c59c5e913
have 87f41db3672502e87e392498328d86628e4732ca
have ebba744db9a943c7ce03351d226d69ba4a37d79a
done
got ack (2) af28e88615bb279041ce67f4ba5ea0c49321f9d8
got ack (2) 17b7bb93b36c4088c829dd9e92068365cce0c4a2
got ack (2) 4a972b121cc0ccc950be6880af3b4bce19014542
got ack (2) a780e601960e1ecb356126f07f41e7f254e3dfda
got ack (2) 5cb332e39f23fc2b463731b9d804acdb760822c4
got ack (2) d8be0286ef2c3a494a5b07c1d31be78702da6559
got ack (2) 7aa46552ba2735529e707a87e247c9a178f8f62a
got ack (2) 92823919838a3046e81122ca7ef968534fa07fe9
got ack (2) c44e6a1887910e1e3c77a1d848fa915c59c5e913
got ack (2) 87f41db3672502e87e392498328d86628e4732ca
got ack (2) ebba744db9a943c7ce03351d226d69ba4a37d79a
got ack (1) ebba744db9a943c7ce03351d226d69ba4a37d79a
remote: Counting objects: 192, done.[K
remote: Compressing objects: 1% (1/64) [K
remote: Compressing objects: 3% (2/64) [K
remote: Compressing objects: 4% (3/64) [K
remote: Compressing objects: 6% (4/64) [K
remote: Compressing objects: 7% (5/64) [K
remote: Compressing objects: 9% (6/64) [K
remote: Compressing objects: 10% (7/64) [K
remote: Compressing objects: 12% (8/64) [K
remote: Compressing objects: 14% (9/64) [K
remote: Compressing objects: 15% (10/64) [K
remote: Compressing objects: 17% (11/64) [K
remote: Compressing objects: 18% (12/64) [K
remote: Compressing objects: 20% (13/64) [K
remote: Compressing objects: 21% (14/64) [K
remote: Compressing objects: 23% (15/64) [K
remote: Compressing objects: 25% (16/64) [K
remote: Compressing objects: 26% (17/64) [K
remote: Compressing objects: 28% (18/64) [K
remote: Compressing objects: 29% (19/64) [K
remote: Compressing objects: 31% (20/64) [K
remote: Compressing objects: 32% (21/64) [K
remote: Compressing objects: 34% (22/64) [K
remote: Compressing objects: 35% (23/64) [K
remote: Compressing objects: 37% (24/64) [K
remote: Compressing objects: 39% (25/64) [K
remote: Compressing objects: 40% (26/64) [K
remote: Compressing objects: 42% (27/64) [K
remote: Compressing objects: 43% (28/64) [K
remote: Compressing objects: 45% (29/64) [K
remote: Compressing objects: 46% (30/64) [K
remote: Compressing objects: 48% (31/64) [K
remote: Compressing objects: 50% (32/64) [K
remote: Compressing objects: 51% (33/64) [K
remote: Compressing objects: 53% (34/64) [K
remote: Compressing objects: 54% (35/64) [K
remote: Compressing objects: 56% (36/64) [K
remote: Compressing objects: 57% (37/64) [K
remote: Compressing objects: 59% (38/64) [K
remote: Compressing objects: 60% (39/64) [K
remote: Compressing objects: 62% (40/64) [K
remote: Compressing objects: 64% (41/64) [K
remote: Compressing objects: 65% (42/64) [K
remote: Compressing objects: 67% (43/64) [K
remote: Compressing objects: 68% (44/64) [K
remote: Compressing objects: 70% (45/64) [K
remote: Compressing objects: 71% (46/64) [K
remote: Compressing objects: 73% (47/64) [K
remote: Compressing objects: 75% (48/64) [K
remote: Compressing objects: 76% (49/64) [K
remote: Compressing objects: 78% (50/64) [K
remote: Compressing objects: 79% (51/64) [K
remote: Compressing objects: 81% (52/64) [K
remote: Compressing objects: 82% (53/64) [K
remote: Compressing objects: 84% (54/64) [K
remote: Compressing objects: 85% (55/64) [K
remote: Compressing objects: 87% (56/64) [K
remote: Compressing objects: 89% (57/64) [K
remote: Compressing objects: 90% (58/64) [K
remote: Compressing objects: 92% (59/64) [K
remote: Compressing objects: 93% (60/64) [K
remote: Compressing objects: 95% (61/64) [K
remote: Compressing objects: 96% (62/64) [K
remote: Compressing objects: 98% (63/64) [K
remote: Compressing objects: 100% (64/64) [K
remote: Compressing objects: 100% (64/64), done.[K
Receiving objects: 0% (1/192)
Receiving objects: 1% (2/192)
Receiving objects: 2% (4/192)
Receiving objects: 3% (6/192)
Receiving objects: 4% (8/192)
Receiving objects: 5% (10/192)
Receiving objects: 6% (12/192)
Receiving objects: 7% (14/192)
Receiving objects: 8% (16/192)
Receiving objects: 9% (18/192)
Receiving objects: 10% (20/192)
Receiving objects: 11% (22/192)
Receiving objects: 12% (24/192)
Receiving objects: 13% (25/192)
Receiving objects: 14% (27/192)
Receiving objects: 15% (29/192)
Receiving objects: 16% (31/192)
Receiving objects: 17% (33/192)
Receiving objects: 18% (35/192)
Receiving objects: 19% (37/192)
Receiving objects: 20% (39/192)
Receiving objects: 21% (41/192)
Receiving objects: 22% (43/192)
Receiving objects: 23% (45/192)
Receiving objects: 24% (47/192)
Receiving objects: 25% (48/192)
Receiving objects: 26% (50/192)
Receiving objects: 27% (52/192)
Receiving objects: 28% (54/192)
Receiving objects: 29% (56/192)
Receiving objects: 30% (58/192)
Receiving objects: 31% (60/192)
Receiving objects: 32% (62/192)
Receiving objects: 33% (64/192)
Receiving objects: 34% (66/192)
Receiving objects: 35% (68/192)
Receiving objects: 36% (70/192)
Receiving objects: 37% (72/192)
Receiving objects: 38% (73/192)
Receiving objects: 39% (75/192)
Receiving objects: 40% (77/192)
Receiving objects: 41% (79/192)
Receiving objects: 42% (81/192)
Receiving objects: 43% (83/192)
Receiving objects: 44% (85/192)
Receiving objects: 45% (87/192)
Receiving objects: 46% (89/192)
Receiving objects: 47% (91/192)
Receiving objects: 48% (93/192)
Receiving objects: 49% (95/192)
Receiving objects: 50% (96/192)
Receiving objects: 51% (98/192)
Receiving objects: 52% (100/192)
Receiving objects: 53% (102/192)
Receiving objects: 54% (104/192)
Receiving objects: 55% (106/192)
Receiving objects: 56% (108/192)
Receiving objects: 57% (110/192)
Receiving objects: 58% (112/192)
Receiving objects: 59% (114/192)
Receiving objects: 60% (116/192)
Receiving objects: 61% (118/192)
Receiving objects: 62% (120/192)
Receiving objects: 63% (121/192)
Receiving objects: 64% (123/192)
Receiving objects: 65% (125/192)
Receiving objects: 66% (127/192)
Receiving objects: 67% (129/192)
Receiving objects: 68% (131/192)
Receiving objects: 69% (133/192)
Receiving objects: 70% (135/192)
Receiving objects: 71% (137/192)
Receiving objects: 72% (139/192)
Receiving objects: 73% (141/192)
Receiving objects: 74% (143/192)
Receiving objects: 75% (144/192)
Receiving objects: 76% (146/192)
Receiving objects: 77% (148/192)
Receiving objects: 78% (150/192)
Receiving objects: 79% (152/192)
Receiving objects: 80% (154/192)
Receiving objects: 81% (156/192)
Receiving objects: 82% (158/192)
Receiving objects: 83% (160/192)
Receiving objects: 84% (162/192)
Receiving objects: 85% (164/192)
Receiving objects: 86% (166/192)
Receiving objects: 87% (168/192)
Receiving objects: 88% (169/192)
Receiving objects: 89% (171/192)
Receiving objects: 90% (173/192)
Receiving objects: 91% (175/192)
Receiving objects: 92% (177/192)
Receiving objects: 93% (179/192)
Receiving objects: 94% (181/192)
Receiving objects: 95% (183/192)
Receiving objects: 96% (185/192)
remote: Total 192 (delta 0), reused 0 (delta 0)[K
Receiving objects: 97% (187/192)
Receiving objects: 98% (189/192)
Receiving objects: 99% (191/192)
Receiving objects: 100% (192/192)
Receiving objects: 100% (192/192), 16.27 KiB, done.
pack fbb5d879c2f876b377ca70192e9851865d7a5a01
b358779c25a204f435ea260b6984ca61934afdfc refs/heads/B
* ok 6: 2nd pull
* expecting success: git fsck --full > fsck.txt 2>&1
* ok 7: fsck
* expecting success: mv .git/objects/pack/pack-* . &&
p=`ls -1 pack-*.pack` &&
git unpack-objects <$p &&
git fsck --full
* ok 8: check downloaded results
* expecting success: idx=`echo pack-*.idx` &&
pack_count=`git show-index <$idx | wc -l` &&
test $pack_count = $count
* ok 9: new object count after 2nd pull
* expecting success: test 192 = 192
* ok 10: minimal count
* expecting success: git-fetch-pack -k -v .. A
Server supports multi_ack
Server supports side-band-64k
Marking b358779c25a204f435ea260b6984ca61934afdfc as complete
Marking acd96ffbb7d5edd853ee99837a0d53c873fbf580 as complete
Marking 9e5e3fc552e1cdb68ee0f4f8d0daeaac18ed90f5 as complete
Marking 2d089d50c2ed2ef8f0f7b89c16388d0df3c10697 as complete
Marking 6a590a1d7eedc15464cede8e14867827550e68e0 as complete
Marking e37b0290e5bfa7466565cf4791dfbb9b879284c1 as complete
Marking a162a27f09bd3df7e010c7e688a8e40837dd505a as complete
Marking fc01200e381bca1fc0dc8350b0eaa90ca496c5ad as complete
Marking 691ae05e0070148de9dd667a6d19b6c252624759 as complete
Marking 130fafc24aaf3396a47d142fd3ccd2327d52011e as complete
Marking 748662b314c1d5b2d07d28574c4969327aba8625 as complete
Marking 6f7511e12c66eade21b6d8737ec43980f24f0cf7 as complete
Marking c06a71a021f82f59bfe863514b1e644e30905330 as complete
Marking 649eff48385c4aa4417894fc79fad38bc320d88d as complete
Marking b1f697b469a13a7f3dfcab12831f0e741d18f5a1 as complete
Marking da0ef7a0a80dae7bae9e08eba9c4a483b5aa46c6 as complete
Marking 0e0eae8881b89d5b7f16494c14d60095a9beee0c as complete
Marking bb39a8183174c8c72012ee6c682dd74c5d9f65b8 as complete
Marking e402f5584f869bdc1577916f2fc6137b6a478f58 as complete
Marking 3d57575fdd7d6a9efc6885bfd09c71e1155244fb as complete
Marking 0bb29d2c650d9c75c1f79f7b08e25dbcc4be84c7 as complete
Marking fa12949ee748ed1e3379a20d63277aed11838db4 as complete
want 121a4babded3118a7dba09fbe742ea3613ca2ebc (refs/heads/A)
have b358779c25a204f435ea260b6984ca61934afdfc
have af28e88615bb279041ce67f4ba5ea0c49321f9d8
have 4a972b121cc0ccc950be6880af3b4bce19014542
have 5cb332e39f23fc2b463731b9d804acdb760822c4
have d8be0286ef2c3a494a5b07c1d31be78702da6559
have 7aa46552ba2735529e707a87e247c9a178f8f62a
have 92823919838a3046e81122ca7ef968534fa07fe9
have c44e6a1887910e1e3c77a1d848fa915c59c5e913
have 87f41db3672502e87e392498328d86628e4732ca
have ebba744db9a943c7ce03351d226d69ba4a37d79a
have a780e601960e1ecb356126f07f41e7f254e3dfda
done
got ack (2) b358779c25a204f435ea260b6984ca61934afdfc
got ack (2) af28e88615bb279041ce67f4ba5ea0c49321f9d8
got ack (2) 4a972b121cc0ccc950be6880af3b4bce19014542
got ack (2) 5cb332e39f23fc2b463731b9d804acdb760822c4
got ack (2) d8be0286ef2c3a494a5b07c1d31be78702da6559
got ack (2) 7aa46552ba2735529e707a87e247c9a178f8f62a
got ack (2) 92823919838a3046e81122ca7ef968534fa07fe9
got ack (2) c44e6a1887910e1e3c77a1d848fa915c59c5e913
got ack (2) 87f41db3672502e87e392498328d86628e4732ca
got ack (2) ebba744db9a943c7ce03351d226d69ba4a37d79a
got ack (2) a780e601960e1ecb356126f07f41e7f254e3dfda
got ack (1) a780e601960e1ecb356126f07f41e7f254e3dfda
remote: Counting objects: 3, done.[K
remote: Total 3 (delta 0), reused 0 (delta 0)[K
Receiving objects: 33% (1/3)
Receiving objects: 66% (2/3)
Receiving objects: 100% (3/3)
Receiving objects: 100% (3/3), done.
pack 318d438f5d00855a3c71699c35f6aecd346e4dad
121a4babded3118a7dba09fbe742ea3613ca2ebc refs/heads/A
* ok 11: 3rd pull
* expecting success: git fsck --full > fsck.txt 2>&1
* ok 12: fsck
* expecting success: mv .git/objects/pack/pack-* . &&
p=`ls -1 pack-*.pack` &&
git unpack-objects <$p &&
git fsck --full
* ok 13: check downloaded results
* expecting success: idx=`echo pack-*.idx` &&
pack_count=`git show-index <$idx | wc -l` &&
test $pack_count = $count
* ok 14: new object count after 3rd pull
* expecting success: test 3 = 3
* ok 15: minimal count
* expecting success: git-clone --depth 2 file:///build/buildd/git-core-1.5.4.3/t/trash/. shallow
Initialized empty Git repository in /build/buildd/git-core-1.5.4.3/t/trash/shallow/.git/
* ok 16: clone shallow
* expecting success: test "in-pack: 18" = "in-pack: 18"
* ok 17: clone shallow object count
* expecting success:
test -z "$(count_output count.shallow)"
* ok 18: clone shallow object count (part 2)
* expecting success: (cd shallow; git fsck --full)
* ok 19: fsck in shallow repo
* expecting success: (cd shallow; git pull .. B)
remote: Counting objects: 6, done.[K
remote: Compressing objects: 50% (1/2) [K
remote: Compressing objects: 100% (2/2) [K
remote: Compressing objects: 100% (2/2), done.[K
remote: Total 6 (delta 0), reused 0 (delta 0)[K
Updating b358779..d2db691
Fast forward
test.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
* ok 20: pull in shallow repo
* expecting success: test "count: 6" = "count: 6"
* ok 21: clone shallow object count
* expecting success: (cd shallow; git pull --depth 4 .. B)
remote: Counting objects: 6, done.[K
remote: Compressing objects: 50% (1/2) [K
remote: Compressing objects: 100% (2/2) [K
remote: Compressing objects: 100% (2/2), done.[K
remote: Total 6 (delta 0), reused 0 (delta 0)[K
Updating d2db691..3cdd46c
Fast forward
test.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
* ok 22: deepening pull in shallow repo
* expecting success: test "count: 12" = "count: 12"
* ok 23: clone shallow object count
* expecting success: (cd shallow; git fetch --depth 4 .. A:A)
remote: Counting objects: 6, done.[K
remote: Compressing objects: 50% (1/2) [K
remote: Compressing objects: 100% (2/2) [K
remote: Compressing objects: 100% (2/2), done.[K
remote: Total 6 (delta 0), reused 0 (delta 0)[K
More information about the ubuntu-autotest
mailing list