Checkout
Julian Foad
committed
on 30 Dec 19
Random-input testing for issue #4840, "Merge assertion failure in
svn_sort__array_insert".

This adds tests for svn_rangelist_merge2() with … Show more
Random-input testing for issue #4840, "Merge assertion failure in

svn_sort__array_insert".

This adds tests for svn_rangelist_merge2() with canonical inputs,

with "semi-canonical" inputs which meet criteria described in its

doc string, and with non-validated inputs.

* subversion/tests/libsvn_subr/mergeinfo-test.c

 (...): Helper functions.

 (test_rangelist_merge_random_canonical_inputs,

  test_rangelist_merge_random_semi_c_inputs,

  test_rangelist_merge_random_non_validated_inputs): New tests.

 (test_funcs): Run them.

Show less