No subject
Thu Jun 12 23:09:36 BST 2008
Switched to branch "copy"
HEAD is now at 26d43e8... modified
Created commit 2ba8955: conflict
1 files changed, 1 insertions(+), 1 deletions(-)
Switched to branch "to-rebase"
Created commit cf2eecd: to-rebase
1 files changed, 1 insertions(+), 1 deletions(-)
First, rewinding head to replay your work on top of it...
HEAD is now at 2ba8955... conflict
Applying new file
Applying to-rebase
* ok 8: --rebase with rebased upstream
* passed all 8 test(s)
*** t5530-upload-pack-error.sh ***
* expecting success:
echo file >file &&
git add file &&
git rev-parse :file &&
git commit -a -m original &&
test_tick &&
echo changed >file &&
git commit -a -m changed &&
corrupt_repo HEAD:file
f73f3093ff865c514c6c51f867e35f693487d0d3
Created initial commit b5daaa3: original
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 file
Created commit b81978e: changed
1 files changed, 1 insertions(+), 1 deletions(-)
* ok 1: setup and corrupt repository
* expecting failure:
git fsck
missing blob 5ea2ed416fbd4a4cbe227b75fe255dd7fa6bd4d6
broken link from tree 9aa427f7ab21b39efaa3efd02ead282a0584268c
to blob 5ea2ed416fbd4a4cbe227b75fe255dd7fa6bd4d6
* ok 2: fsck fails
* expecting success:
! echo "0032want $(git rev-parse HEAD)
00000009done
0000" | git-upload-pack . > /dev/null 2> output.err &&
grep "pack-objects died" output.err
Binary file output.err matches
* ok 3: upload-pack fails due to error in pack-objects
* expecting success:
git hash-object -w file &&
corrupt_repo HEAD^^{tree}
5ea2ed416fbd4a4cbe227b75fe255dd7fa6bd4d6
* ok 4: corrupt repo differently
* expecting failure:
git fsck
broken link from commit b5daaa3123671425ac3491e2b3c1c1b2b9651441
to tree bec63e37d08c454ad3a60cde90b70f3f7d077852
dangling blob f73f3093ff865c514c6c51f867e35f693487d0d3
missing tree bec63e37d08c454ad3a60cde90b70f3f7d077852
* ok 5: fsck fails
* expecting success:
! echo "0032want $(git rev-parse HEAD)
00000009done
0000" | git-upload-pack . > /dev/null 2> output.err &&
grep "waitpid (async) failed" output.err
Binary file output.err matches
* ok 6: upload-pack fails due to error in rev-list
* expecting success:
mkdir foo &&
cd foo &&
git init
Initialized empty Git repository in .git/
* ok 7: create empty repository
* expecting failure:
git fetch .. master
error: Could not read bec63e37d08c454ad3a60cde90b70f3f7d077852
fatal: bad tree object bec63e37d08c454ad3a60cde90b70f3f7d077852
warning: no common commits
remote: Counting objects: 1, done.[K
error: waitpid (async) failed
fatal: git-upload-pack: aborting due to possible repository corruption on the remote side.
remote: Total 1 (delta 0), reused 0 (delta 0)[K
remote: aborting due to possible repository corruption on the remote side.
error: waitpid (async) failed
fatal: error in sideband demultiplexer
* ok 8: fetch fails
* passed all 8 test(s)
*** t5600-clone-fail-cleanup.sh ***
* expecting failure: git-clone foo bar
Initialized empty Git repository in /build/buildd/git-core-1.5.4.3/t/trash/bar/.git/
fatal: 'foo': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
fetch-pack from 'foo' failed.
* ok 1: clone of non-existent source should fail
* expecting failure: cd bar
cd: 1: can't cd to bar
* ok 2: failed clone should not leave a directory
* expecting failure: git-clone ../foo baz
Initialized empty Git repository in /build/buildd/git-core-1.5.4.3/t/trash/baz/.git/
fatal: '../foo': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
fetch-pack from '../foo' failed.
* ok 3: clone of non-existent (relative to $PWD) source should fail
* expecting success: git-clone foo bar
Initialized empty Git repository in /build/buildd/git-core-1.5.4.3/t/trash/bar/.git/
0 blocks
* ok 4: clone should work now that source exists
* expecting success: cd bar
* ok 5: successful clone must leave the directory
* passed all 5 test(s)
*** t5700-clone-reference.sh ***
* expecting success: test_create_repo A && cd A &&
echo first > file1 &&
git add file1 &&
git commit -m initial
Created initial commit 5c5f524: initial
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 file1
* ok 1: preparing first repository
* expecting success: git clone A B && cd B &&
echo second > file2 &&
git add file2 &&
git commit -m addition &&
git repack -a -d &&
git prune
Initialized empty Git repository in /build/buildd/git-core-1.5.4.3/t/trash/B/.git/
0 blocks
Created commit 7fdad04: addition
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 file2
* ok 2: preparing second repository
* expecting success: git clone -l -s --reference B A C
Initialized empty Git repository in /build/buildd/git-core-1.5.4.3/t/trash/C/.git/
* ok 3: cloning with reference (-l -s)
* expecting success: test `wc -l <C/.git/objects/info/alternates` = 2
* ok 4: existence of info/alternates
* expecting success: cd C &&
git pull ../B master
Updating 5c5f524..7fdad04
Fast forward
file2 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 file2
* ok 5: pulling from reference
* expecting success: cd C &&
echo "0 objects, 0 kilobytes" > expected &&
git count-objects > current &&
diff expected current
* ok 6: that reference gets used
* expecting success: git clone --reference B file://`pwd`/A D
Initialized empty Git repository in /build/buildd/git-core-1.5.4.3/t/trash/D/.git/
* ok 7: cloning with reference (no -l -s)
* expecting success: test `wc -l <D/.git/objects/info/alternates` = 1
* ok 8: existence of info/alternates
* expecting success: cd D && git pull ../B master
Updating 5c5f524..7fdad04
Fast forward
file2 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 file2
* ok 9: pulling from reference
* expecting success: cd D && echo "0 objects, 0 kilobytes" > expected &&
git count-objects > current &&
diff expected current
* ok 10: that reference gets used
* expecting success: cd A &&
echo third > file3 &&
git add file3 &&
git commit -m update &&
git repack -a -d &&
git prune
Created commit 4b0f38e: update
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 file3
* ok 11: updating origin
* expecting success: cd C &&
git pull origin
More information about the ubuntu-autotest
mailing list