Re: [ANNOUNCE] GIT 1.5.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 17 of June 2007, Junio C Hamano wrote:
> The latest maintenance release GIT 1.5.2.2 is available at the
> usual places:
>
>   http://www.kernel.org/pub/software/scm/git/
>
>   git-1.5.2.2.tar.{gz,bz2}			(tarball)
>   git-htmldocs-1.5.2.2.tar.{gz,bz2}		(preformatted docs)
>   git-manpages-1.5.2.2.tar.{gz,bz2}		(preformatted docs)
>   RPMS/$arch/git-*-1.5.2.2-1.$arch.rpm	(RPM)

Should git testsuite (make test) go without any problem? (I'm asking because 
some projects have test suites where some tests are expected to fail).

I have 4 failures on amd64/linux and this git release:

* FAIL 11: compare delta flavors

                perl -e '
                        defined($_ = -s $_) or die for @ARGV;
                        exit 1 if $ARGV[0] <= $ARGV[1];
                ' test-2-$packname_2.pack test-3-$packname_3.pack

[...]

* FAIL 16: corrupt a pack and see if verify catches
        cat test-1-${packname_1}.idx >test-3.idx &&
             cat test-2-${packname_2}.pack >test-3.pack &&
             if git-verify-pack test-3.idx
             then false
             else :;
             fi &&

             : PACK_SIGNATURE &&
             cat test-1-${packname_1}.pack >test-3.pack &&
             dd if=/dev/zero of=test-3.pack count=1 bs=1 conv=notrunc seek=2 
&&
             if git-verify-pack test-3.idx
             then false
             else :;
             fi &&

             : PACK_VERSION &&
             cat test-1-${packname_1}.pack >test-3.pack &&
             dd if=/dev/zero of=test-3.pack count=1 bs=1 conv=notrunc seek=7 
&&
             if git-verify-pack test-3.idx
             then false
             else :;
             fi &&

             : TYPE/SIZE byte of the first packed object data &&
             cat test-1-${packname_1}.pack >test-3.pack &&
             dd if=/dev/zero of=test-3.pack count=1 bs=1 conv=notrunc seek=12 
&&
             if git-verify-pack test-3.idx
             then false
             else :;
             fi &&

             : sum of the index file itself &&
             l=`wc -c <test-3.idx` &&
             l=`expr $l - 20` &&
             cat test-1-${packname_1}.pack >test-3.pack &&
             dd if=/dev/zero of=test-3.idx count=20 bs=1 conv=notrunc seek=$l 
&&
             if git-verify-pack test-3.pack
             then false
             else :;
             fi &&

             :

[...]

* FAIL 18: fake a SHA1 hash collision
        test -f .git/objects/c8/2de19312b6c3695c0c18f70709a6c535682a67 &&
             cp -f      .git/objects/9d/235ed07cd19811a6ceb342de82f190e49c9f68 
\
                        .git/objects/c8/2de19312b6c3695c0c18f70709a6c535682a67
* FAIL 19: make sure index-pack detects the SHA1 collision
        git-index-pack -o bad.idx test-3.pack
* failed 4 among 19 test(s)


-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux