Lines Matching refs:arg
127 const char *arg = select_path (do_relative_path, path_file, "file"); in test_1() local
128 TEST_COMPARE (chmod_func (fd, arg, 1, 0), 0); in test_1()
131 arg = select_path (do_relative_path, path_to_file, "to-file"); in test_1()
132 TEST_COMPARE (chmod_func (fd, arg, 2, 0), 0); in test_1()
137 arg = select_path (do_relative_path, path_file, "file"); in test_1()
138 TEST_COMPARE (chmod_func (fd, arg, 1, 0), 0); in test_1()
145 arg = select_path (do_relative_path, path_to_file, "to-file"); in test_1()
146 int ret = chmod_func (fd, arg, 2, AT_SYMLINK_NOFOLLOW); in test_1()
170 arg = select_path (do_relative_path, path, filename); in test_1()
171 ret = chmod_func (fd, arg, new_mode, AT_SYMLINK_NOFOLLOW); in test_1()
180 arg = select_path (do_relative_path, path_missing, "missing"); in test_1()
181 TEST_COMPARE (chmod_func (fd, arg, 020, 0), -1); in test_1()
183 TEST_COMPARE (chmod_func (fd, arg, 020, AT_SYMLINK_NOFOLLOW), -1); in test_1()
204 arg = select_path (do_relative_path, path_file, "file"); in test_1()
205 TEST_COMPARE (chmod_func (fd, arg, 3, 0), 0); in test_1()
210 ret = chmod_func (fd, arg, 2, AT_SYMLINK_NOFOLLOW); in test_1()