Home
last modified time | relevance | path

Searched refs:TEST_COMPARE (Results 1 – 14 of 14) sorted by relevance

/support/
A Dtst-test_compare.c65 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 Dtst-support_quote_string.c28 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 Dtst-support_quote_blob.c30 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 Dtst-support_quote_blob_wide.c30 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 Dtst-support-process_state.c46 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 Dtst-support_blob_repeat.c46 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 Dsupport_descriptor_supports_holes.c59 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 Dsupport_ptrace.c37 TEST_COMPARE (fscanf (f, "%d", &ptrace_scope), 1); in support_ptrace_scope()
A Dtst-support_descriptors.c37 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 Dsupport_process_state.c65 TEST_COMPARE (sscanf (line, "%*s %c", &cur_state), 1); in support_process_state_wait()
A Dtst-timespec.c304 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 Dcheck.h101 #define TEST_COMPARE(left, right) \ macro
A Dtst-support_capture_subprocess.c139 TEST_COMPARE (errno, 0); in parse_int()
A Dtest-container.c965 TEST_COMPARE (errno, 0); in main()
1019 TEST_COMPARE (errno, 0); in main()

Completed in 24 milliseconds