On Mon, Dec 30, 2019 at 12:28 PM Julian Foad <[email protected]> wrote:
> I have added thorough random-input testing for svn_rangelist_merge2().
I assume that's the one added in r1872121,
test_mergeinfo_merge_random_non_validated_inputs().
I got a fail on it.
Quoth the function's docstring: "Unlike the tests with valid inputs,
this test expects many assertion failures. We don't care about those.
All we care about is that it does not crash."
It crashed:
[[[
svn_tests: E200006: Test crashed (run in debugger with '--allow-segfaults')
FAIL: mergeinfo-test 24: test rangelist merge random non-validated inputs
]]]
I know the code contains unfixed bugs that this test is meant to
expose. Sadly, the printf is commented so I don't know what the inputs
were:
+ /*
+ printf("testcase FAIL: %s / %s\n",
+ mergeinfo_to_string_debug(mx, iterpool),
+ mergeinfo_to_string_debug(my, iterpool));
+ svn_handle_error(err, stdout, FALSE);
+ */
Nathan