xref: /linux/tools/testing/kunit/test_data/test_is_test_passed-failure.log (revision 023265ed75d8792ca1d555430a8985511d3f8788)
1TAP version 14
2	# Subtest: sysctl_test
3	1..8
4	# sysctl_test_dointvec_null_tbl_data: sysctl_test_dointvec_null_tbl_data passed
5	ok 1 - sysctl_test_dointvec_null_tbl_data
6	# sysctl_test_dointvec_table_maxlen_unset: sysctl_test_dointvec_table_maxlen_unset passed
7	ok 2 - sysctl_test_dointvec_table_maxlen_unset
8	# sysctl_test_dointvec_table_len_is_zero: sysctl_test_dointvec_table_len_is_zero passed
9	ok 3 - sysctl_test_dointvec_table_len_is_zero
10	# sysctl_test_dointvec_table_read_but_position_set: sysctl_test_dointvec_table_read_but_position_set passed
11	ok 4 - sysctl_test_dointvec_table_read_but_position_set
12	# sysctl_test_dointvec_happy_single_positive: sysctl_test_dointvec_happy_single_positive passed
13	ok 5 - sysctl_test_dointvec_happy_single_positive
14	# sysctl_test_dointvec_happy_single_negative: sysctl_test_dointvec_happy_single_negative passed
15	ok 6 - sysctl_test_dointvec_happy_single_negative
16	# sysctl_test_dointvec_single_less_int_min: sysctl_test_dointvec_single_less_int_min passed
17	ok 7 - sysctl_test_dointvec_single_less_int_min
18	# sysctl_test_dointvec_single_greater_int_max: sysctl_test_dointvec_single_greater_int_max passed
19	ok 8 - sysctl_test_dointvec_single_greater_int_max
20kunit sysctl_test: all tests passed
21ok 1 - sysctl_test
22	# Subtest: example
23	1..2
24init_suite
25	# example_simple_test: initializing
26	# example_simple_test: EXPECTATION FAILED at lib/kunit/example-test.c:30
27	Expected 1 + 1 == 3, but
28		1 + 1 == 2
29		3 == 3
30	# example_simple_test: example_simple_test failed
31	not ok 1 - example_simple_test
32	# example_mock_test: initializing
33	# example_mock_test: example_mock_test passed
34	ok 2 - example_mock_test
35kunit example: one or more tests failed
36not ok 2 - example
37