/support/ |
A D | xgetline.c | 25 TEST_VERIFY (!ferror (stream)); in xgetline() 29 TEST_VERIFY (ret < 0); in xgetline() 34 TEST_VERIFY (ret <= 0); in xgetline() 37 TEST_VERIFY (ret > 0); in xgetline()
|
A D | tst-support-namespace.c | 59 TEST_VERIFY (sendto (client, &i, sizeof (i), 0, in test_localhost_bind() 62 TEST_VERIFY (sendto (client, &j, sizeof (j), 0, in test_localhost_bind() 73 TEST_VERIFY (recv (sockets[i], &buf, sizeof (buf), 0) == sizeof (buf)); in test_localhost_bind() 74 TEST_VERIFY (buf == i); in test_localhost_bind() 79 TEST_VERIFY (recv (sockets[i], &buf, sizeof (buf), 0) == sizeof (buf)); in test_localhost_bind() 80 TEST_VERIFY (buf == i + 256); in test_localhost_bind() 82 TEST_VERIFY (recv (sockets[i], &buf, sizeof (buf), MSG_DONTWAIT) == -1); in test_localhost_bind() 83 TEST_VERIFY (errno == EWOULDBLOCK || errno == EAGAIN); in test_localhost_bind()
|
A D | tst-support_capture_subprocess.c | 48 TEST_VERIFY (write (fd, *p, 1) == 1); in transfer() 98 TEST_VERIFY (fputs (test->out, stdout) >= 0); in test_common() 99 TEST_VERIFY (fflush (stdout) == 0); in test_common() 100 TEST_VERIFY (fputs (test->err, stderr) >= 0); in test_common() 101 TEST_VERIFY (fflush (stderr) == 0); in test_common() 105 TEST_VERIFY (fputs (test->err, stderr) >= 0); in test_common() 106 TEST_VERIFY (fflush (stderr) == 0); in test_common() 108 TEST_VERIFY (fflush (stdout) == 0); in test_common() 125 TEST_VERIFY (mode_ok); in test_common() 140 TEST_VERIFY (ret >= 0 && ret <= INT_MAX); in parse_int() [all …]
|
A D | support_capture_subprocess.c | 54 TEST_VERIFY (fwrite (buf, ret, 1, stream->out) == 1); in transfer() 121 TEST_VERIFY (mkdir (dirname, 0700) == 0); in copy_and_spawn_sgid() 130 TEST_VERIFY (outfd >= 0); in copy_and_spawn_sgid() 138 TEST_VERIFY (rdcount >= 0); in copy_and_spawn_sgid() 150 TEST_VERIFY (wrcount > 0); in copy_and_spawn_sgid() 156 TEST_VERIFY (fchown (outfd, getuid (), gid) == 0); in copy_and_spawn_sgid() 159 TEST_VERIFY (fchmod (outfd, 02750) == 0); in copy_and_spawn_sgid() 162 TEST_VERIFY (close (outfd) == 0); in copy_and_spawn_sgid() 165 TEST_VERIFY (close (infd) == 0); in copy_and_spawn_sgid()
|
A D | support_can_chroot.c | 41 TEST_VERIFY (before.st_dev == after.st_dev); in callback() 42 TEST_VERIFY (before.st_ino == after.st_ino); in callback()
|
A D | tst-xsigstack.c | 57 TEST_VERIFY ((uintptr_t)sp < haddr); in do_test() 58 TEST_VERIFY (haddr < (uintptr_t)sp + size); in do_test()
|
A D | support_subprocess.c | 35 TEST_VERIFY (result.stdout_pipe[0] > STDERR_FILENO); in support_subprocess_init() 36 TEST_VERIFY (result.stdout_pipe[1] > STDERR_FILENO); in support_subprocess_init() 39 TEST_VERIFY (result.stderr_pipe[0] > STDERR_FILENO); in support_subprocess_init() 40 TEST_VERIFY (result.stderr_pipe[1] > STDERR_FILENO); in support_subprocess_init() 42 TEST_VERIFY (fflush (stdout) == 0); in support_subprocess_init() 43 TEST_VERIFY (fflush (stderr) == 0); in support_subprocess_init()
|
A D | tst-support-open-dev-null-range.c | 98 TEST_VERIFY (fcntl (lowfd + i, F_GETFL) > -1); in do_test() 111 TEST_VERIFY (fcntl (lowfd2 + i, F_GETFL) > -1); in do_test() 131 TEST_VERIFY (fcntl (lowfd3 + i, F_GETFL) > -1); in do_test() 148 TEST_VERIFY (fcntl (lowfd4 + i, F_GETFL) > -1); in do_test()
|
A D | tst-support_record_failure.c | 105 TEST_VERIFY (true); in do_test() 109 TEST_VERIFY (false); in do_test()
|
A D | tst-support_descriptors.c | 110 TEST_VERIFY (strstr (proc.out.buffer, expected) != NULL); in test_run() 125 TEST_VERIFY (strstr (proc.out.buffer, expected) != NULL); in test_run() 141 TEST_VERIFY (strstr (proc.out.buffer, expected) != NULL); in test_run() 165 TEST_VERIFY (free_descriptor >= 3); in do_test()
|
A D | tst-test_compare_string.c | 61 TEST_VERIFY in do_test()
|
A D | support_capture_subprocess_check.c | 53 TEST_VERIFY ((allowed & sc_allow_none) in support_capture_subprocess_check() 56 TEST_VERIFY (!((allowed & sc_allow_none) in support_capture_subprocess_check()
|
A D | tst-test_compare_blob.c | 71 TEST_VERIFY in do_test()
|
A D | tst-xreadlink.c | 56 TEST_VERIFY (strcmp (readlink_result, contents) == 0); in do_test()
|
A D | tst-test_compare_string_wide.c | 61 TEST_VERIFY in do_test()
|
A D | tst-test_compare.c | 97 TEST_VERIFY in do_test()
|
A D | tst-support_blob_repeat.c | 94 TEST_VERIFY (strlen (repeat.start) < total_size - 1); in do_test()
|
A D | check.h | 50 #define TEST_VERIFY(expr) \ macro
|
A D | resolv_test.c | 65 TEST_VERIFY (*p <= 63); in allocate_compressed_name() 114 TEST_VERIFY (lenleft <= 63); in compare_compressed_name() 115 TEST_VERIFY (lenright <= 63); in compare_compressed_name() 329 TEST_VERIFY (crname_target != crname); in resolv_response_add_name()
|