/support/ |
A D | tst-test_compare.c | 65 TEST_COMPARE (1, 1); in do_test() 66 TEST_COMPARE (2LL, 2U); in do_test() 70 TEST_COMPARE (i8, u16); in do_test() 76 TEST_COMPARE (bitfield.i2, bitfield.i3); in do_test() 77 TEST_COMPARE (bitfield.u2, bitfield.u3); in do_test() 78 TEST_COMPARE (bitfield.u2, bitfield.i3); in do_test() 79 TEST_COMPARE (bitfield.u3, bitfield.i3); in do_test() 80 TEST_COMPARE (bitfield.i2, bitfield.u3); in do_test() 81 TEST_COMPARE (bitfield.i3, bitfield.u2); in do_test() 82 TEST_COMPARE (bitfield.i63, bitfield.i63); in do_test() [all …]
|
A D | tst-support_quote_string.c | 28 TEST_COMPARE (strlen (p), 0); in do_test() 31 TEST_COMPARE (strlen (p), 1); in do_test() 32 TEST_COMPARE (p[0], 'X'); in do_test() 38 TEST_COMPARE (strcmp (p, "$()*?`@[]{}~\\'\\\"X"), 0); in do_test() 47 TEST_COMPARE (strcmp (p, LETTERS_AND_DIGTS "@"), 0); in do_test() 53 TEST_COMPARE (strcmp (p, "\\r\\n\\t\\a\\b\\f\\v\\001" in do_test()
|
A D | tst-support_quote_blob.c | 30 TEST_COMPARE (strlen (p), 0); in do_test() 33 TEST_COMPARE (strlen (p), 0); in do_test() 39 TEST_COMPARE (strcmp (p, "$()*?`@[]{}~\\'\\\""), 0); in do_test() 48 TEST_COMPARE (strcmp (p, LETTERS_AND_DIGTS), 0); in do_test() 54 TEST_COMPARE (strcmp (p, "\\r\\n\\t\\a\\b\\f\\v\\001" in do_test()
|
A D | tst-support_quote_blob_wide.c | 30 TEST_COMPARE (strlen (p), 0); in do_test() 33 TEST_COMPARE (strlen (p), 0); in do_test() 39 TEST_COMPARE (strcmp (p, "$()*?`@[]{}~\\'\\\""), 0); in do_test() 51 TEST_COMPARE (strcmp (p, LETTERS_AND_DIGTS), 0); in do_test() 58 TEST_COMPARE (strcmp (p, "\\r\\n\\t\\a\\b\\f\\v\\x{1}" in do_test()
|
A D | tst-support-process_state.c | 46 TEST_COMPARE (pause (), -1); in test_child() 47 TEST_COMPARE (errno, EINTR); in test_child() 96 TEST_COMPARE (r, 0); in do_test() 97 TEST_COMPARE (info.si_signo, SIGCHLD); in do_test() 98 TEST_COMPARE (info.si_code, CLD_KILLED); in do_test() 99 TEST_COMPARE (info.si_status, SIGKILL); in do_test() 100 TEST_COMPARE (info.si_pid, pid); in do_test()
|
A D | tst-support_blob_repeat.c | 46 TEST_COMPARE (repeat.size, gigabyte + 1); in do_test() 58 TEST_COMPARE (p[i], 'Y'); in do_test() 60 TEST_COMPARE (p[i], 'Z'); in do_test() 85 TEST_COMPARE (p[i * 9 + j], '0' + j); in do_test() 96 TEST_COMPARE (strlen (repeat.start), total_size - 1); in do_test()
|
A D | support_descriptor_supports_holes.c | 59 TEST_COMPARE (fsync (fd), 0); in support_descriptor_supports_holes() 73 TEST_COMPARE (fsync (fd), 0); in support_descriptor_supports_holes() 80 TEST_COMPARE (fsync (fd), 0); in support_descriptor_supports_holes()
|
A D | support_ptrace.c | 37 TEST_COMPARE (fscanf (f, "%d", &ptrace_scope), 1); in support_ptrace_scope()
|
A D | tst-support_descriptors.c | 37 TEST_COMPARE (fd, free_descriptor); in subprocess_no_change() 46 TEST_COMPARE (fd, free_descriptor); in subprocess_closed_descriptor() 59 TEST_COMPARE (fd, free_descriptor); in subprocess_opened_descriptor() 69 TEST_COMPARE (fd, free_descriptor); in subprocess_changed_descriptor() 72 TEST_COMPARE (xopen ("/dev", O_DIRECTORY | O_RDONLY, 0), fd); in subprocess_changed_descriptor() 178 TEST_COMPARE (fd, free_descriptor); in do_test()
|
A D | support_process_state.c | 65 TEST_COMPARE (sscanf (line, "%*s %c", &cur_state), 1); in support_process_state_wait()
|
A D | tst-timespec.c | 304 TEST_COMPARE (support_timespec_ns (ns_cases[i].time), in do_test() 315 TEST_COMPARE (norm_cases[i].norm.tv_sec, result.tv_sec); in do_test() 316 TEST_COMPARE (norm_cases[i].norm.tv_nsec, result.tv_nsec); in do_test() 326 TEST_COMPARE (support_timespec_check_in_range in do_test()
|
A D | check.h | 101 #define TEST_COMPARE(left, right) \ macro
|
A D | tst-support_capture_subprocess.c | 139 TEST_COMPARE (errno, 0); in parse_int()
|
A D | test-container.c | 965 TEST_COMPARE (errno, 0); in main() 1019 TEST_COMPARE (errno, 0); in main()
|