Closed
Description
I am integrating lib/libarchive/tests into the FreeBSD test suite and discovered that the "Unrecognized option" message printed to the stderr was breaking atf_init_test_cases for kyua list and kyua test.
Once I redirected stderr to stdout, the test script became functional with kyua list/kyua test.
Something like this should repro the issue:
atf_test_case a
a_body() {
true
}
atf_init_test_cases()
{
echo "hello world" >&2
atf_add_test_case a
}