Re: [PATCH] t4069: test diff behavior with i-t-a paths

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

 



Eric Sunshine <sunshine@xxxxxxxxxxxxxx> writes:

> On Mon, Aug 10, 2020 at 7:09 PM Raymond E. Pasco <ray@xxxxxxxxxxxx> wrote:
>> More rigidly, it's nice to confirm that it's a diff from the empty blob
>> and not from some other random blob.
>
> The tests can get access to the correct OID of the empty blob without
> hardcoding it either via $(test_oid empty_blob) or just as
> $EMPTY_BLOB, however, that's the full length hex string, so you'd
> still need to do some tweaking.

If the tests do truly care about these exact objects, then using
"--full-index" would be a good way to compare with $EMPTY_BLOB
and/or $ZERO_OID and such.



[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