Re: [PATCH] unit-tests: convert t/helper/test-oid-array.c to unit-tests
- From
Ghanshyam Thakkar <shyamthakkar001@gmail.com>
- Date
- Feb 23, 2024, 19:37 UTC
- Message-ID
- <CZCPMSA5S0Q8.1M7XX3A8302KR@gmail.com>
- In-Reply-To
- <20240223193257.9222-1-shyamthakkar001@gmail.com>
On Sat Feb 24, 2024 at 1:02 AM IST, Ghanshyam Thakkar wrote:
Show 8 quoted lines
> [RFC]: I recently saw a series by Eric W. Biederman [1] which enables > the use of oid's with different hash algorithms into the same > oid_array safely. However, there were no tests added for this. So, I > am wondering if we should have a input format which allows us to > specify hash algo for each oid with its hex value. i.e. "sha1:55" or > "sha256:55", instead of just "55" and relying on GIT_TEST_DEFAULT_HASH > for algo. So far, I tried to imitate the existing tests but I suppose > this may be useful in the future if that series gets merged.
[1]: https://lore.kernel.org/git/20231002024034.2611-2-ebiederm@gmail.com/
apologies for the noise.