Lines Matching refs:same_fd
60 TEST(same_fd) { in TEST() argument
69 assert_se(same_fd(p[0], p[0]) > 0); in TEST()
70 assert_se(same_fd(p[1], p[1]) > 0); in TEST()
71 assert_se(same_fd(a, a) > 0); in TEST()
72 assert_se(same_fd(b, b) > 0); in TEST()
74 assert_se(same_fd(a, p[0]) > 0); in TEST()
75 assert_se(same_fd(p[0], a) > 0); in TEST()
76 assert_se(same_fd(c, p[0]) > 0); in TEST()
77 assert_se(same_fd(p[0], c) > 0); in TEST()
78 assert_se(same_fd(a, c) > 0); in TEST()
79 assert_se(same_fd(c, a) > 0); in TEST()
81 assert_se(same_fd(p[0], p[1]) == 0); in TEST()
82 assert_se(same_fd(p[1], p[0]) == 0); in TEST()
83 assert_se(same_fd(p[0], b) == 0); in TEST()
84 assert_se(same_fd(b, p[0]) == 0); in TEST()
85 assert_se(same_fd(p[1], a) == 0); in TEST()
86 assert_se(same_fd(a, p[1]) == 0); in TEST()
87 assert_se(same_fd(p[1], b) == 0); in TEST()
88 assert_se(same_fd(b, p[1]) == 0); in TEST()
90 assert_se(same_fd(a, b) == 0); in TEST()
91 assert_se(same_fd(b, a) == 0); in TEST()