Signed-off-by: René Scharfe <l.s.r@xxxxxx> --- t/perf/p0071-sort.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/t/perf/p0071-sort.sh b/t/perf/p0071-sort.sh index 5b39b68f35..ed366e2e12 100755 --- a/t/perf/p0071-sort.sh +++ b/t/perf/p0071-sort.sh @@ -38,4 +38,15 @@ do " done +for file in unsorted sorted reversed +do + test_perf "llist_mergesort() $file" " + test-tool mergesort sort <$file >actual + " + + test_expect_success "llist_mergesort() $file sorts like sort(1)" " + test_cmp_bin sorted actual + " +done + test_done -- 2.33.0