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 <ps@pks.im>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
Acked-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| t-ctype.c | ||
| t-example-decorate.c | ||
| t-hash.c | ||
| t-mem-pool.c | ||
| t-prio-queue.c | ||
| t-reftable-basics.c | ||
| t-reftable-record.c | ||
| t-strbuf.c | ||
| t-strcmp-offset.c | ||
| t-strvec.c | ||
| t-trailer.c | ||
| test-lib.c | ||
| test-lib.h | ||