Re: [PATCH 13/10] tests for various pack index features

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

 



On Tue, 10 Apr 2007, Junio C Hamano wrote:

> > +     for i in `seq -w 100`
> > +     do
> > +         echo $i >file_$i &&
> > +         dd if=/dev/urandom bs=8k count=1 >>file_$i &&
> > +         git-update-index --add file_$i || return 1
> > +     done &&
> 
> Is there a way for our tests to be a bit more stable than
> urandom?  I saw on the first run fsck was OOM-killed, but the
> second and subsequent run did not.  It's a bit hard to diagnose.

The problem here is that I really need large amount of random data that 
doesn't compress nor delta between objects.

Hmmm what we need is a random data generator that always produces the 
same thing.  I'll hack something to replace urandom.


Nicolas
-
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]