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 31c0ecd: 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 3482c0c: 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 0648737abe771473c2320684990a29b5afe90e40 (refs/heads/B)
want bc09ea1b0359ff5c1c9376688eef9e7066272f34 (refs/heads/A)
done
remote: Counting objects: 33, done.
remote: Compressing objects:   9% (1/11)   
remote: Compressing objects:  18% (2/11)   
remote: Compressing objects:  27% (3/11)   
remote: Compressing objects:  36% (4/11)   
remote: Compressing objects:  45% (5/11)   
remote: Compressing objects:  54% (6/11)   
remote: Compressing objects:  63% (7/11)   
remote: Compressing objects:  72% (8/11)   
remote: Compressing objects:  81% (9/11)   
remote: Compressing objects:  90% (10/11)   
remote: Compressing objects: 100% (11/11)   
remote: Compressing objects: 100% (11/11), done.
remote: Total 33 (delta 1), reused 0 (delta 0)
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)   
Receiving objects: 100% (33/33), done.
Resolving deltas: 100% (1/1)   
Resolving deltas: 100% (1/1), done.
pack	3b6247285d9e2e3c5ef2e5897ce415f83ee96859
0648737abe771473c2320684990a29b5afe90e40 refs/heads/B
bc09ea1b0359ff5c1c9376688eef9e7066272f34 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 71024d31a55a0ee0e6e39ba1cf7f7512598468fe (refs/heads/B)
have bc09ea1b0359ff5c1c9376688eef9e7066272f34
have 0648737abe771473c2320684990a29b5afe90e40
have 8e00141a276627cb2f57d8c3ade3ddb72ee3dc24
have b87938330e49c2f891093260f7edf8d59535a494
have e91f4281fdbced5f6b7839e488d427eb4cf79fa7
have 7e50946831475a32efaf74b99f11b25185cc17f8
have dde262aab18cef841b1925b251eb1dd5ee1a07d1
have 95fee991c0bdab088364474b22c78251ab336900
have 78d69cec97ebfe3e5d9893e6bb0302c0bc654b9b
have 74feeeb7e8b3b4127815d9390a130fc3dadccb8b
have aeec27140cc9f860b16c9ef4b47c8f6eb6afc914
done
got ack (2) bc09ea1b0359ff5c1c9376688eef9e7066272f34
got ack (2) 0648737abe771473c2320684990a29b5afe90e40
got ack (2) 8e00141a276627cb2f57d8c3ade3ddb72ee3dc24
got ack (2) b87938330e49c2f891093260f7edf8d59535a494
got ack (2) e91f4281fdbced5f6b7839e488d427eb4cf79fa7
got ack (2) 7e50946831475a32efaf74b99f11b25185cc17f8
got ack (2) dde262aab18cef841b1925b251eb1dd5ee1a07d1
got ack (2) 95fee991c0bdab088364474b22c78251ab336900
got ack (2) 78d69cec97ebfe3e5d9893e6bb0302c0bc654b9b
got ack (2) 74feeeb7e8b3b4127815d9390a130fc3dadccb8b
got ack (2) aeec27140cc9f860b16c9ef4b47c8f6eb6afc914
got ack (1) aeec27140cc9f860b16c9ef4b47c8f6eb6afc914
remote: Counting objects: 192, done.
remote: Compressing objects:   1% (1/64)   
remote: Compressing objects:   3% (2/64)   
remote: Compressing objects:   4% (3/64)   
remote: Compressing objects:   6% (4/64)   
remote: Compressing objects:   7% (5/64)   
remote: Compressing objects:   9% (6/64)   
remote: Compressing objects:  10% (7/64)   
remote: Compressing objects:  12% (8/64)   
remote: Compressing objects:  14% (9/64)   
remote: Compressing objects:  15% (10/64)   
remote: Compressing objects:  17% (11/64)   
remote: Compressing objects:  18% (12/64)   
remote: Compressing objects:  20% (13/64)   
remote: Compressing objects:  21% (14/64)   
remote: Compressing objects:  23% (15/64)   
remote: Compressing objects:  25% (16/64)   
remote: Compressing objects:  26% (17/64)   
remote: Compressing objects:  28% (18/64)   
remote: Compressing objects:  29% (19/64)   
remote: Compressing objects:  31% (20/64)   
remote: Compressing objects:  32% (21/64)   
remote: Compressing objects:  34% (22/64)   
remote: Compressing objects:  35% (23/64)   
remote: Compressing objects:  37% (24/64)   
remote: Compressing objects:  39% (25/64)   
remote: Compressing objects:  40% (26/64)   
remote: Compressing objects:  42% (27/64)   
remote: Compressing objects:  43% (28/64)   
remote: Compressing objects:  45% (29/64)   
remote: Compressing objects:  46% (30/64)   
remote: Compressing objects:  48% (31/64)   
remote: Compressing objects:  50% (32/64)   
remote: Compressing objects:  51% (33/64)   
remote: Compressing objects:  53% (34/64)   
remote: Compressing objects:  54% (35/64)   
remote: Compressing objects:  56% (36/64)   
remote: Compressing objects:  57% (37/64)   
remote: Compressing objects:  59% (38/64)   
remote: Compressing objects:  60% (39/64)   
remote: Compressing objects:  62% (40/64)   
remote: Compressing objects:  64% (41/64)   
remote: Compressing objects:  65% (42/64)   
remote: Compressing objects:  67% (43/64)   
remote: Compressing objects:  68% (44/64)   
remote: Compressing objects:  70% (45/64)   
remote: Compressing objects:  71% (46/64)   
remote: Compressing objects:  73% (47/64)   
remote: Compressing objects:  75% (48/64)   
remote: Compressing objects:  76% (49/64)   
remote: Compressing objects:  78% (50/64)   
remote: Compressing objects:  79% (51/64)   
remote: Compressing objects:  81% (52/64)   
remote: Compressing objects:  82% (53/64)   
remote: Compressing objects:  84% (54/64)   
remote: Compressing objects:  85% (55/64)   
remote: Compressing objects:  87% (56/64)   
remote: Compressing objects:  89% (57/64)   
remote: Compressing objects:  90% (58/64)   
remote: Compressing objects:  92% (59/64)   
remote: Compressing objects:  93% (60/64)   
remote: Compressing objects:  95% (61/64)   
remote: Compressing objects:  96% (62/64)   
remote: Compressing objects:  98% (63/64)   
remote: Compressing objects: 100% (64/64)   
remote: Compressing objects: 100% (64/64), done.
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)   
remote: Total 192 (delta 0), reused 0 (delta 0)
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)   
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.28 KiB, done.
pack	46d226898e669d64d269a68265d82a90ceac5566
71024d31a55a0ee0e6e39ba1cf7f7512598468fe 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 71024d31a55a0ee0e6e39ba1cf7f7512598468fe as complete
Marking 88e30775a3d5f021d5966efce4aebd60e570ed8b as complete
Marking 2f19b304f604fe5fafb2773419dc65527d98eae0 as complete
Marking 869dfc38cc33e8416bf07e31bcae1fb013fb3e84 as complete
Marking be1263ee4d0eb5361101cc78c767f3aae636151e as complete
Marking 1c5f687413c33747da348acaaed59b19db023086 as complete
want dd4dddc46f36d6b55fc437c9a01a4819609841cc (refs/heads/A)
have 71024d31a55a0ee0e6e39ba1cf7f7512598468fe
have bc09ea1b0359ff5c1c9376688eef9e7066272f34
have 8e00141a276627cb2f57d8c3ade3ddb72ee3dc24
have e91f4281fdbced5f6b7839e488d427eb4cf79fa7
have 7e50946831475a32efaf74b99f11b25185cc17f8
have dde262aab18cef841b1925b251eb1dd5ee1a07d1
have 95fee991c0bdab088364474b22c78251ab336900
have 78d69cec97ebfe3e5d9893e6bb0302c0bc654b9b
have 74feeeb7e8b3b4127815d9390a130fc3dadccb8b
have aeec27140cc9f860b16c9ef4b47c8f6eb6afc914
have b87938330e49c2f891093260f7edf8d59535a494
done
got ack (2) 71024d31a55a0ee0e6e39ba1cf7f7512598468fe
got ack (2) bc09ea1b0359ff5c1c9376688eef9e7066272f34
got ack (2) 8e00141a276627cb2f57d8c3ade3ddb72ee3dc24
got ack (2) e91f4281fdbced5f6b7839e488d427eb4cf79fa7
got ack (2) 7e50946831475a32efaf74b99f11b25185cc17f8
got ack (2) dde262aab18cef841b1925b251eb1dd5ee1a07d1
got ack (2) 95fee991c0bdab088364474b22c78251ab336900
got ack (2) 78d69cec97ebfe3e5d9893e6bb0302c0bc654b9b
got ack (2) 74feeeb7e8b3b4127815d9390a130fc3dadccb8b
got ack (2) aeec27140cc9f860b16c9ef4b47c8f6eb6afc914
got ack (2) b87938330e49c2f891093260f7edf8d59535a494
got ack (1) b87938330e49c2f891093260f7edf8d59535a494
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects:  33% (1/3)   
Receiving objects:  66% (2/3)   
Receiving objects: 100% (3/3)   
Receiving objects: 100% (3/3), done.
pack	02ece1c52cb9fa5ee6cac71033cafc796df022b9
dd4dddc46f36d6b55fc437c9a01a4819609841cc 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.
remote: Compressing objects:  50% (1/2)   
remote: Compressing objects: 100% (2/2)   
remote: Compressing objects: 100% (2/2), done.
remote: Total 6 (delta 0), reused 0 (delta 0)
Updating 71024d3..596c57b
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.
remote: Compressing objects:  50% (1/2)   
remote: Compressing objects: 100% (2/2)   
remote: Compressing objects: 100% (2/2)remote: , done.
remote: Total 6 (delta 0), reused 0 (delta 0)
Updating 596c57b..69bb60d
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.
remote: Compressing objects:  50% (1/2)   
remote: Compressing objects: 100% (2/2)   
remote: Compressing objects: 100% (2/2)remote: , done.
remote: Total 6 (delta 0), reused 0 (delta 0)


More information about the ubuntu-autotest mailing list