Lines Matching refs:arg
107 const char *arg = select_path (do_relative_path, path_file, "file"); in test_1() local
108 TEST_COMPARE (chmod_func (fd, arg, 1, 0), 0); in test_1()
111 arg = select_path (do_relative_path, path_to_file, "to-file"); in test_1()
112 TEST_COMPARE (chmod_func (fd, arg, 2, 0), 0); in test_1()
117 arg = select_path (do_relative_path, path_file, "file"); in test_1()
118 TEST_COMPARE (chmod_func (fd, arg, 1, 0), 0); in test_1()
125 arg = select_path (do_relative_path, path_to_file, "to-file"); in test_1()
126 int ret = chmod_func (fd, arg, 2, AT_SYMLINK_NOFOLLOW); in test_1()
150 arg = select_path (do_relative_path, path, filename); in test_1()
151 ret = chmod_func (fd, arg, new_mode, AT_SYMLINK_NOFOLLOW); in test_1()
160 arg = select_path (do_relative_path, path_missing, "missing"); in test_1()
161 TEST_COMPARE (chmod_func (fd, arg, 020, 0), -1); in test_1()
163 TEST_COMPARE (chmod_func (fd, arg, 020, AT_SYMLINK_NOFOLLOW), -1); in test_1()
184 arg = select_path (do_relative_path, path_file, "file"); in test_1()
185 TEST_COMPARE (chmod_func (fd, arg, 3, 0), 0); in test_1()
190 ret = chmod_func (fd, arg, 2, AT_SYMLINK_NOFOLLOW); in test_1()