Lines Matching refs:test_error
45 test_error("malloc()"); in lookup_get()
49 test_error("strndup()"); in lookup_get()
63 test_error("can't parse netstat file"); in lookup_get_column()
85 test_error("reallocarray()"); in netstat_read_type()
90 test_error("fscanf(%s)", type->header_name); in netstat_read_type()
92 test_error("Unexpected netstat format (%c)", tmp); in netstat_read_type()
104 test_error("strndup()"); in netstat_read_type()
109 test_error("fscanf(%s)", nc->name); in netstat_read_type()
115 test_error("Unexpected netstat format"); in netstat_read_type()
132 test_error("Unexpected snmp6 format"); in snmp6_read()
136 test_error("reallocarray()"); in snmp6_read()
161 test_error("failed to open /proc/net/netstat"); in netstat_read()
170 test_error("failed to open /proc/net/snmp"); in netstat_read()
179 test_error("failed to open /proc/net/snmp6"); in netstat_read()
230 test_error("Unexpected: some counters disappeared!"); in netstat_print_diff()
247 test_error("Unexpected: some counters disappeared!"); in netstat_print_diff()