]> git.99rst.org Git - git.git/commit
t-reftable-record: add tests for reftable_log_record_compare_key()
authorChandra Pratap <redacted>
Tue, 2 Jul 2024 07:22:24 +0000 (12:52 +0530)
committerJunio C Hamano <redacted>
Tue, 2 Jul 2024 15:12:26 +0000 (08:12 -0700)
commitb942fda6702994dc1a7ed91d33faceea68aedbc9
tree6ae6fe84dbff8b1252894cdf17c2ff18440c4df7
parentf7ec13b53896966c233514c3906c284a40b00c3c
t-reftable-record: add tests for reftable_log_record_compare_key()

reftable_log_record_compare_key() is a function defined by
reftable/record.{c, h} and is used to compare the keys of two
log records when sorting multiple log records using 'qsort'.
In the current testing setup, this function is left unexercised.
Add a testing function for the same.

Mentored-by: Patrick Steinhardt <redacted>
Mentored-by: Christian Couder <redacted>
Signed-off-by: Chandra Pratap <redacted>
Acked-by: Karthik Nayak <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/unit-tests/t-reftable-record.c
git clone https://git.99rst.org/PROJECT