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