| /linux/tools/testing/selftests/net/ |
| H A D | ipv6_flowlabel_mgr.c | 193 EXPECT_TRUE(err) TH_LOG("expected get of a non-existent label to fail"); in TEST_F() 207 EXPECT_TRUE(err) TH_LOG("expected put of a non-existent label to fail"); in TEST_F() 221 EXPECT_TRUE(err) TH_LOG("expected label > 20 bits to be rejected"); in TEST_F() 235 EXPECT_TRUE(!err) TH_LOG("failed to create label (FL_F_CREATE)"); in TEST_F() 238 EXPECT_TRUE(!err) TH_LOG("failed to get the label without FL_F_CREATE"); in TEST_F() 241 EXPECT_TRUE(!err) in TEST_F() 246 EXPECT_TRUE(err) in TEST_F() 251 EXPECT_TRUE(!err) TH_LOG("failed to put first reference"); in TEST_F() 253 EXPECT_TRUE(!err) TH_LOG("failed to put second reference"); in TEST_F() 255 EXPECT_TRUE(!err) TH_LOG("failed to put third reference"); in TEST_F() [all …]
|
| H A D | ip_local_port_range.c | 196 EXPECT_TRUE(err) TH_LOG("expected setsockopt(IP_LOCAL_PORT_RANGE) to fail"); in TEST_F() 202 EXPECT_TRUE(err) TH_LOG("expected setsockopt(IP_LOCAL_PORT_RANGE) to fail"); in TEST_F() 208 EXPECT_TRUE(err) TH_LOG("expected setsockopt(IP_LOCAL_PORT_RANGE) to fail"); in TEST_F()
|
| H A D | tls.c | 1545 EXPECT_TRUE(eagain); in test_mutliproc() 1568 EXPECT_TRUE(eagain); in test_mutliproc()
|
| /linux/tools/testing/selftests/prctl/ |
| H A D | set-process-name.c | 83 EXPECT_TRUE(check_is_name_correct(CHANGE_NAME)); in TEST() 86 EXPECT_TRUE(check_is_name_correct(EMPTY_NAME)); in TEST() 91 EXPECT_TRUE(check_name()); in TEST()
|
| H A D | set-anon-vma-name-test.c | 106 EXPECT_TRUE(was_renaming_successful(GOOD_NAME, (unsigned long)self->ptr_anon));
|
| /linux/tools/testing/selftests/filesystems/mount_cycle/ |
| H A D | mount_cover_test.c | 395 EXPECT_TRUE(errno == EINVAL || errno == EACCES); in TEST_F() 397 EXPECT_TRUE(errno == EINVAL || errno == EACCES); in TEST_F() 421 EXPECT_TRUE(sv.f_flag & ST_RDONLY); in TEST_F() 431 EXPECT_TRUE(same_file(fd, self->fd)); in TEST_F() 449 EXPECT_TRUE(same_file(fd, self->cfd)); in TEST_F() 507 EXPECT_TRUE(S_ISREG(st.st_mode)); in TEST_F()
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | tsync_test.c | |
| H A D | fs_test.c | 2315 EXPECT_TRUE(is_whiteout(file1_s3d3)); in TEST_F_FORK() 2316 EXPECT_TRUE(is_fifo(TMP_DIR "/s3d1/s3d2/s3d3/f2")); in TEST_F_FORK() 2362 EXPECT_TRUE(is_whiteout(file1_s3d3)); in TEST_F_FORK() 2363 EXPECT_TRUE(is_fifo(TMP_DIR "/s3d1/s3d2/s3d4/f2")); in TEST_F_FORK() 2413 EXPECT_TRUE(is_whiteout(file1_s3d3)); in TEST_F_FORK() 2414 EXPECT_TRUE(is_fifo(whiteout_s3d3)); in TEST_F_FORK() 7225 EXPECT_TRUE(is_fifo(merge_pl1_renamed)); in FIXTURE_VARIANT_ADD() 7226 EXPECT_TRUE(is_missing(merge_pl1)); in FIXTURE_VARIANT_ADD() 7233 EXPECT_TRUE(is_whiteout(UPPER_DATA "/pl1")); in FIXTURE_VARIANT_ADD() 8264 EXPECT_TRUE(open_mod in audit_quiet_layout1_test_body() [all...] |
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | scm_pidfd.c | 903 EXPECT_TRUE(msg[0].have_tgid); in TEST() 921 EXPECT_TRUE(msg[i].have_tgid); in TEST() 922 EXPECT_TRUE(msg[i].have_thread); in TEST() 1008 EXPECT_TRUE(msg.thread_flags & O_EXCL); in TEST()
|
| /linux/tools/testing/selftests/filesystems/umount_propagation/ |
| H A D | shrink_submounts_test.c | 166 EXPECT_TRUE(mounted_tmpfs(r)); in TEST_F()
|
| /linux/tools/testing/selftests/filesystems/epoll/ |
| H A D | epoll_wakeup_test.c | 1706 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); 1810 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); 1924 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); 2038 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); 2142 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); 2246 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); 2355 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); 2464 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3));
|
| /linux/tools/testing/selftests/filesystems/ |
| H A D | kernfs_test.c | 390 EXPECT_TRUE(path_is_mounted(sub)); in TEST_F() 1092 EXPECT_TRUE(found_lo); in TEST_F()
|
| /linux/tools/testing/selftests/filesystems/openat2/ |
| H A D | resolve_test.c | 63 EXPECT_TRUE(fdequal(_metadata, fd, rootfd, test->out.path)) { in verify_resolve_test()
|
| /linux/tools/testing/selftests/mount_setattr/ |
| H A D | mount_setattr_test.c | 1405 EXPECT_TRUE(expected_uid_gid(open_tree_fd, ".", 0, 10000, 10000)); in TEST_F() 1417 EXPECT_TRUE(expected_uid_gid(open_tree_fd, ".", 0, 10000, 10000)); in TEST_F()
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 714 #define EXPECT_TRUE(seen) \ macro
|
| /linux/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 951 EXPECT_TRUE(WIFSIGNALED(status)) { in TEST() 3163 EXPECT_TRUE(ret == __NR_nanosleep || ret == __NR_clock_nanosleep); in TEST()
|