Lines Matching refs:fcd
101 struct file_change_detection fcd[10]; in do_test() local
104 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_empty1)); in do_test()
105 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_empty2)); in do_test()
107 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], in do_test()
110 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_loop)); in do_test()
112 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_dangling)); in do_test()
114 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], tempdir)); in do_test()
116 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_to_empty1)); in do_test()
118 TEST_VERIFY (__file_change_detection_for_fp (&fcd[i++], fp_empty1)); in do_test()
119 TEST_VERIFY (__file_change_detection_for_fp (&fcd[i++], fp_empty2)); in do_test()
121 TEST_VERIFY (__file_change_detection_for_fp (&fcd[i++], NULL)); in do_test()
122 TEST_COMPARE (i, array_length (fcd)); in do_test()
124 all_same (fcd, array_length (fcd)); in do_test()
129 struct file_change_detection fcd[3]; in do_test() local
131 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_file1)); in do_test()
132 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_to_file1)); in do_test()
133 TEST_VERIFY (__file_change_detection_for_fp (&fcd[i++], fp_file1)); in do_test()
134 TEST_COMPARE (i, array_length (fcd)); in do_test()
135 all_same (fcd, array_length (fcd)); in do_test()
140 struct file_change_detection fcd[5]; in do_test() local
143 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_empty1)); in do_test()
146 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_file1)); in do_test()
147 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_file2)); in do_test()
149 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_fifo)); in do_test()
150 TEST_VERIFY (__file_change_detection_for_path (&fcd[i++], path_fifo)); in do_test()
151 TEST_COMPARE (i, array_length (fcd)); in do_test()
152 all_different (fcd, array_length (fcd)); in do_test()
156 TEST_VERIFY (__file_change_detection_for_path (&fcd[1], path_to_file1)); in do_test()
157 all_different (fcd, array_length (fcd)); in do_test()