BASE 35 maint/gnulib/tests/nap.h #define TEMPFILE BASE "nap.tmp" BASE 41 maint/gnulib/tests/test-access.c unlink (BASE "f"); BASE 42 maint/gnulib/tests/test-access.c unlink (BASE "f1"); BASE 43 maint/gnulib/tests/test-access.c chmod (BASE "f2", 0600); BASE 44 maint/gnulib/tests/test-access.c unlink (BASE "f2"); BASE 48 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f", R_OK) == -1); BASE 52 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f", W_OK) == -1); BASE 56 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f", X_OK) == -1); BASE 60 maint/gnulib/tests/test-access.c ASSERT (close (creat (BASE "f1", 0700)) == 0); BASE 62 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f1", R_OK) == 0); BASE 63 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f1", W_OK) == 0); BASE 64 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f1", X_OK) == 0); BASE 67 maint/gnulib/tests/test-access.c ASSERT (close (creat (BASE "f2", 0600)) == 0); BASE 68 maint/gnulib/tests/test-access.c ASSERT (chmod (BASE "f2", 0400) == 0); BASE 70 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f2", R_OK) == 0); BASE 75 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f2", W_OK) == -1); BASE 81 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f2", X_OK) == 0); BASE 84 maint/gnulib/tests/test-access.c ASSERT (access (BASE "f2", X_OK) == -1); BASE 90 maint/gnulib/tests/test-access.c ASSERT (unlink (BASE "f1") == 0); BASE 91 maint/gnulib/tests/test-access.c ASSERT (chmod (BASE "f2", 0600) == 0); BASE 92 maint/gnulib/tests/test-access.c ASSERT (unlink (BASE "f2") == 0); BASE 43 maint/gnulib/tests/test-areadlink-with-size.c ignore_value (system ("rm -rf " BASE "*")); BASE 50 maint/gnulib/tests/test-areadlink.c ignore_value (system ("rm -rf " BASE "*")); BASE 46 maint/gnulib/tests/test-areadlink.h ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 48 maint/gnulib/tests/test-areadlink.h ASSERT (func (BASE "file", 1) == NULL); BASE 51 maint/gnulib/tests/test-areadlink.h ASSERT (func (BASE "file/", 1) == NULL); BASE 53 maint/gnulib/tests/test-areadlink.h ASSERT (unlink (BASE "file") == 0); BASE 56 maint/gnulib/tests/test-areadlink.h if (symlink (BASE "dir", BASE "link")) BASE 63 maint/gnulib/tests/test-areadlink.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 65 maint/gnulib/tests/test-areadlink.h ASSERT (func (BASE "link/", 1) == NULL); BASE 69 maint/gnulib/tests/test-areadlink.h char *buf = func (BASE "link", 1); BASE 71 maint/gnulib/tests/test-areadlink.h ASSERT (strcmp (buf, BASE "dir") == 0); BASE 74 maint/gnulib/tests/test-areadlink.h buf = func (BASE "link", 10000000); BASE 76 maint/gnulib/tests/test-areadlink.h ASSERT (strcmp (buf, BASE "dir") == 0); BASE 79 maint/gnulib/tests/test-areadlink.h ASSERT (rmdir (BASE "dir") == 0); BASE 80 maint/gnulib/tests/test-areadlink.h ASSERT (unlink (BASE "link") == 0); BASE 54 maint/gnulib/tests/test-areadlinkat-with-size.c ignore_value (system ("rm -rf " BASE "*")); BASE 69 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (symlink ("nowhere", BASE "link") == 0); BASE 70 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 71 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (chdir (BASE "dir") == 0); BASE 72 maint/gnulib/tests/test-areadlinkat-with-size.c buf = areadlinkat_with_size (dfd, BASE "link", strlen (BASE "link")); BASE 77 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (areadlinkat_with_size (-1, BASE "link", 1) == NULL); BASE 80 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (areadlinkat_with_size (AT_FDCWD, BASE "link", 1) == NULL); BASE 83 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (rmdir (BASE "dir") == 0); BASE 84 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (unlink (BASE "link") == 0); BASE 54 maint/gnulib/tests/test-areadlinkat.c ignore_value (system ("rm -rf " BASE "*")); BASE 69 maint/gnulib/tests/test-areadlinkat.c ASSERT (symlink ("nowhere", BASE "link") == 0); BASE 70 maint/gnulib/tests/test-areadlinkat.c ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 71 maint/gnulib/tests/test-areadlinkat.c ASSERT (chdir (BASE "dir") == 0); BASE 72 maint/gnulib/tests/test-areadlinkat.c buf = areadlinkat (dfd, BASE "link"); BASE 77 maint/gnulib/tests/test-areadlinkat.c ASSERT (areadlinkat (-1, BASE "link") == NULL); BASE 80 maint/gnulib/tests/test-areadlinkat.c ASSERT (areadlinkat (AT_FDCWD, BASE "link") == NULL); BASE 83 maint/gnulib/tests/test-areadlinkat.c ASSERT (rmdir (BASE "dir") == 0); BASE 84 maint/gnulib/tests/test-areadlinkat.c ASSERT (unlink (BASE "link") == 0); BASE 63 maint/gnulib/tests/test-canonicalize-lgpl.c ignore_value (system ("rm -rf " BASE " ise")); BASE 64 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (mkdir (BASE, 0700) == 0); BASE 65 maint/gnulib/tests/test-canonicalize-lgpl.c fd = creat (BASE "/tra", 0600); BASE 114 maint/gnulib/tests/test-canonicalize-lgpl.c char *result = canonicalize_file_name (BASE "//./..//" BASE "/tra"); BASE 116 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (strstr (result, "/" BASE "/tra") BASE 117 maint/gnulib/tests/test-canonicalize-lgpl.c == result + strlen (result) - strlen ("/" BASE "/tra")); BASE 141 maint/gnulib/tests/test-canonicalize-lgpl.c result = canonicalize_file_name (BASE "/tra/"); BASE 150 maint/gnulib/tests/test-canonicalize-lgpl.c result = canonicalize_file_name (BASE "/zzz/.."); BASE 156 maint/gnulib/tests/test-canonicalize-lgpl.c if (symlink (BASE "/ket", "ise") != 0) BASE 158 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE "/tra") == 0); BASE 159 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (rmdir (BASE) == 0); BASE 164 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (symlink ("bef", BASE "/plo") == 0); BASE 165 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (symlink ("tra", BASE "/huk") == 0); BASE 166 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (symlink ("lum", BASE "/bef") == 0); BASE 167 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (symlink ("wum", BASE "/ouk") == 0); BASE 168 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (symlink ("../ise", BASE "/ket") == 0); BASE 169 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (mkdir (BASE "/lum", 0700) == 0); BASE 170 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (symlink ("//.//../..", BASE "/droot") == 0); BASE 174 maint/gnulib/tests/test-canonicalize-lgpl.c char *result1 = canonicalize_file_name (BASE "/huk"); BASE 175 maint/gnulib/tests/test-canonicalize-lgpl.c char *result2 = canonicalize_file_name (BASE "/tra"); BASE 179 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/tra"), BASE 180 maint/gnulib/tests/test-canonicalize-lgpl.c "/" BASE "/tra") == 0); BASE 187 maint/gnulib/tests/test-canonicalize-lgpl.c char *result1 = canonicalize_file_name (BASE "/plo"); BASE 188 maint/gnulib/tests/test-canonicalize-lgpl.c char *result2 = canonicalize_file_name (BASE "/bef"); BASE 189 maint/gnulib/tests/test-canonicalize-lgpl.c char *result3 = canonicalize_file_name (BASE "/lum"); BASE 195 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/lum"), BASE 196 maint/gnulib/tests/test-canonicalize-lgpl.c "/" BASE "/lum") == 0); BASE 206 maint/gnulib/tests/test-canonicalize-lgpl.c result = canonicalize_file_name (BASE "/ouk"); BASE 216 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/", BASE 217 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/.", BASE 218 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/./", BASE 219 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/./.", BASE 220 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/x", BASE 221 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/..", BASE 222 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/../", BASE 223 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/../.", BASE 224 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/../x", BASE 225 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/./..", BASE 226 maint/gnulib/tests/test-canonicalize-lgpl.c BASE "/huk/././../x", BASE 240 maint/gnulib/tests/test-canonicalize-lgpl.c result = canonicalize_file_name (BASE "/ouk/.."); BASE 259 maint/gnulib/tests/test-canonicalize-lgpl.c char *result2 = canonicalize_file_name (BASE "/droot"); BASE 284 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE "/droot") == 0); BASE 285 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE "/plo") == 0); BASE 286 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE "/huk") == 0); BASE 287 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE "/bef") == 0); BASE 288 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE "/ouk") == 0); BASE 289 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE "/ket") == 0); BASE 290 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE "/lum") == 0); BASE 291 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE "/tra") == 0); BASE 292 maint/gnulib/tests/test-canonicalize-lgpl.c ASSERT (remove (BASE) == 0); BASE 54 maint/gnulib/tests/test-canonicalize.c ignore_value (system ("rm -rf " BASE " ise")); BASE 55 maint/gnulib/tests/test-canonicalize.c ASSERT (mkdir (BASE, 0700) == 0); BASE 56 maint/gnulib/tests/test-canonicalize.c fd = creat (BASE "/tra", 0600); BASE 108 maint/gnulib/tests/test-canonicalize.c char *result1 = canonicalize_file_name (BASE "//./..//" BASE "/tra"); BASE 109 maint/gnulib/tests/test-canonicalize.c char *result2 = canonicalize_filename_mode (BASE "//./..//" BASE "/tra", BASE 114 maint/gnulib/tests/test-canonicalize.c ASSERT (strstr (result1, "/" BASE "/tra") BASE 115 maint/gnulib/tests/test-canonicalize.c == result1 + strlen (result1) - strlen ("/" BASE "/tra")); BASE 156 maint/gnulib/tests/test-canonicalize.c result1 = canonicalize_file_name (BASE "/tra/"); BASE 160 maint/gnulib/tests/test-canonicalize.c result2 = canonicalize_filename_mode (BASE "/tra/", CAN_EXISTING); BASE 170 maint/gnulib/tests/test-canonicalize.c result1 = canonicalize_file_name (BASE "/zzz/.."); BASE 174 maint/gnulib/tests/test-canonicalize.c result2 = canonicalize_filename_mode (BASE "/zzz/..", CAN_EXISTING); BASE 180 maint/gnulib/tests/test-canonicalize.c if (symlink (BASE "/ket", "ise") != 0) BASE 182 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/tra") == 0); BASE 183 maint/gnulib/tests/test-canonicalize.c ASSERT (rmdir (BASE) == 0); BASE 188 maint/gnulib/tests/test-canonicalize.c ASSERT (symlink ("bef", BASE "/plo") == 0); BASE 189 maint/gnulib/tests/test-canonicalize.c ASSERT (symlink ("tra", BASE "/huk") == 0); BASE 190 maint/gnulib/tests/test-canonicalize.c ASSERT (symlink ("lum", BASE "/bef") == 0); BASE 191 maint/gnulib/tests/test-canonicalize.c ASSERT (symlink ("wum", BASE "/ouk") == 0); BASE 192 maint/gnulib/tests/test-canonicalize.c ASSERT (symlink ("../ise", BASE "/ket") == 0); BASE 193 maint/gnulib/tests/test-canonicalize.c ASSERT (mkdir (BASE "/lum", 0700) == 0); BASE 194 maint/gnulib/tests/test-canonicalize.c ASSERT (symlink ("s", BASE "/p") == 0); BASE 195 maint/gnulib/tests/test-canonicalize.c ASSERT (symlink ("d", BASE "/s") == 0); BASE 196 maint/gnulib/tests/test-canonicalize.c ASSERT (mkdir (BASE "/d", 0700) == 0); BASE 197 maint/gnulib/tests/test-canonicalize.c ASSERT (close (creat (BASE "/d/2", 0600)) == 0); BASE 198 maint/gnulib/tests/test-canonicalize.c ASSERT (symlink ("../s/2", BASE "/d/1") == 0); BASE 199 maint/gnulib/tests/test-canonicalize.c ASSERT (symlink ("//.//../..", BASE "/droot") == 0); BASE 203 maint/gnulib/tests/test-canonicalize.c char *result1 = canonicalize_filename_mode (BASE "/huk", CAN_NOLINKS); BASE 205 maint/gnulib/tests/test-canonicalize.c ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/huk"), BASE 206 maint/gnulib/tests/test-canonicalize.c "/" BASE "/huk") == 0); BASE 212 maint/gnulib/tests/test-canonicalize.c char *result1 = canonicalize_file_name (BASE "/huk"); BASE 213 maint/gnulib/tests/test-canonicalize.c char *result2 = canonicalize_file_name (BASE "/tra"); BASE 214 maint/gnulib/tests/test-canonicalize.c char *result3 = canonicalize_filename_mode (BASE "/huk", CAN_EXISTING); BASE 220 maint/gnulib/tests/test-canonicalize.c ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/tra"), BASE 221 maint/gnulib/tests/test-canonicalize.c "/" BASE "/tra") == 0); BASE 229 maint/gnulib/tests/test-canonicalize.c char *result1 = canonicalize_file_name (BASE "/plo"); BASE 230 maint/gnulib/tests/test-canonicalize.c char *result2 = canonicalize_file_name (BASE "/bef"); BASE 231 maint/gnulib/tests/test-canonicalize.c char *result3 = canonicalize_file_name (BASE "/lum"); BASE 232 maint/gnulib/tests/test-canonicalize.c char *result4 = canonicalize_filename_mode (BASE "/plo", CAN_EXISTING); BASE 240 maint/gnulib/tests/test-canonicalize.c ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/lum"), BASE 241 maint/gnulib/tests/test-canonicalize.c "/" BASE "/lum") == 0); BASE 253 maint/gnulib/tests/test-canonicalize.c result1 = canonicalize_file_name (BASE "/ouk"); BASE 257 maint/gnulib/tests/test-canonicalize.c result2 = canonicalize_filename_mode (BASE "/ouk", CAN_EXISTING); BASE 267 maint/gnulib/tests/test-canonicalize.c BASE "/huk/", BASE 268 maint/gnulib/tests/test-canonicalize.c BASE "/huk/.", BASE 269 maint/gnulib/tests/test-canonicalize.c BASE "/huk/./", BASE 270 maint/gnulib/tests/test-canonicalize.c BASE "/huk/./.", BASE 271 maint/gnulib/tests/test-canonicalize.c BASE "/huk/x", BASE 272 maint/gnulib/tests/test-canonicalize.c BASE "/huk/..", BASE 273 maint/gnulib/tests/test-canonicalize.c BASE "/huk/../", BASE 274 maint/gnulib/tests/test-canonicalize.c BASE "/huk/../.", BASE 275 maint/gnulib/tests/test-canonicalize.c BASE "/huk/../x", BASE 276 maint/gnulib/tests/test-canonicalize.c BASE "/huk/./..", BASE 277 maint/gnulib/tests/test-canonicalize.c BASE "/huk/././../x", BASE 295 maint/gnulib/tests/test-canonicalize.c result1 = canonicalize_file_name (BASE "/ouk/.."); BASE 299 maint/gnulib/tests/test-canonicalize.c result2 = canonicalize_filename_mode (BASE "/ouk/..", CAN_EXISTING); BASE 320 maint/gnulib/tests/test-canonicalize.c char *result1 = canonicalize_filename_mode (BASE "/zzz", CAN_ALL_BUT_LAST); BASE 321 maint/gnulib/tests/test-canonicalize.c char *result2 = canonicalize_filename_mode (BASE "/zzz", CAN_MISSING); BASE 322 maint/gnulib/tests/test-canonicalize.c char *result3 = canonicalize_filename_mode (BASE "/zzz/", CAN_ALL_BUT_LAST); BASE 323 maint/gnulib/tests/test-canonicalize.c char *result4 = canonicalize_filename_mode (BASE "/zzz/", CAN_MISSING); BASE 331 maint/gnulib/tests/test-canonicalize.c ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/zzz"), BASE 332 maint/gnulib/tests/test-canonicalize.c "/" BASE "/zzz") == 0); BASE 341 maint/gnulib/tests/test-canonicalize.c char *result1 = canonicalize_filename_mode (BASE "/ouk", CAN_ALL_BUT_LAST); BASE 342 maint/gnulib/tests/test-canonicalize.c char *result2 = canonicalize_filename_mode (BASE "/ouk", CAN_MISSING); BASE 343 maint/gnulib/tests/test-canonicalize.c char *result3 = canonicalize_filename_mode (BASE "/ouk/", CAN_ALL_BUT_LAST); BASE 344 maint/gnulib/tests/test-canonicalize.c char *result4 = canonicalize_filename_mode (BASE "/ouk/", CAN_MISSING); BASE 352 maint/gnulib/tests/test-canonicalize.c ASSERT (strcmp (result1 + strlen (result1) - strlen ("/" BASE "/wum"), BASE 353 maint/gnulib/tests/test-canonicalize.c "/" BASE "/wum") == 0); BASE 373 maint/gnulib/tests/test-canonicalize.c char *result1 = canonicalize_filename_mode (BASE, CAN_EXISTING); BASE 374 maint/gnulib/tests/test-canonicalize.c char *result2 = canonicalize_filename_mode (BASE "/p/1", CAN_EXISTING); BASE 388 maint/gnulib/tests/test-canonicalize.c char *result3 = canonicalize_file_name (BASE "/droot"); BASE 389 maint/gnulib/tests/test-canonicalize.c char *result4 = canonicalize_filename_mode (BASE "/droot", CAN_EXISTING); BASE 417 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/droot") == 0); BASE 418 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/d/1") == 0); BASE 419 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/d/2") == 0); BASE 420 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/d") == 0); BASE 421 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/s") == 0); BASE 422 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/p") == 0); BASE 423 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/plo") == 0); BASE 424 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/huk") == 0); BASE 425 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/bef") == 0); BASE 426 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/ouk") == 0); BASE 427 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/ket") == 0); BASE 428 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/lum") == 0); BASE 429 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE "/tra") == 0); BASE 430 maint/gnulib/tests/test-canonicalize.c ASSERT (remove (BASE) == 0); BASE 46 maint/gnulib/tests/test-chown.c ignore_value (system ("rm -rf " BASE "*")); BASE 57 maint/gnulib/tests/test-chown.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 58 maint/gnulib/tests/test-chown.h ASSERT (stat (BASE "dir", &st1) == 0); BASE 61 maint/gnulib/tests/test-chown.h result = func (BASE "dir", st1.st_uid, getegid ()); BASE 64 maint/gnulib/tests/test-chown.h ASSERT (rmdir (BASE "dir") == 0); BASE 71 maint/gnulib/tests/test-chown.h ASSERT (close (creat (BASE "dir/file", 0600)) == 0); BASE 72 maint/gnulib/tests/test-chown.h ASSERT (stat (BASE "dir/file", &st1) == 0); BASE 88 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/file/", -1, -1) == -1); BASE 92 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/file", -1, st1.st_gid) == 0); BASE 93 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/file", st1.st_uid, -1) == 0); BASE 94 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/file", (uid_t) -1, (gid_t) -1) == 0); BASE 95 maint/gnulib/tests/test-chown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 102 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/file", st1.st_uid, st1.st_gid) == 0); BASE 103 maint/gnulib/tests/test-chown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 109 maint/gnulib/tests/test-chown.h if (symlink ("link", BASE "dir/link2")) BASE 111 maint/gnulib/tests/test-chown.h ASSERT (unlink (BASE "dir/file") == 0); BASE 112 maint/gnulib/tests/test-chown.h ASSERT (rmdir (BASE "dir") == 0); BASE 119 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/link2", -1, -1) == -1); BASE 122 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/link2/", st1.st_uid, st1.st_gid) == -1); BASE 124 maint/gnulib/tests/test-chown.h ASSERT (symlink ("file", BASE "dir/link") == 0); BASE 136 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 139 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 144 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/link2/", -1, gids[1]) == -1); BASE 146 maint/gnulib/tests/test-chown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 149 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 152 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 156 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/link2", -1, gids[1]) == 0); BASE 157 maint/gnulib/tests/test-chown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 160 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 163 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 171 maint/gnulib/tests/test-chown.h ASSERT (stat (BASE "dir/file", &st1) == 0); BASE 172 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link", &l1) == 0); BASE 173 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link2", &l2) == 0); BASE 177 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/link2/", -1, st1.st_gid) == -1); BASE 179 maint/gnulib/tests/test-chown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 182 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 185 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 189 maint/gnulib/tests/test-chown.h ASSERT (func (BASE "dir/link2", -1, st1.st_gid) == 0); BASE 190 maint/gnulib/tests/test-chown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 194 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 197 maint/gnulib/tests/test-chown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 204 maint/gnulib/tests/test-chown.h ASSERT (unlink (BASE "dir/file") == 0); BASE 205 maint/gnulib/tests/test-chown.h ASSERT (unlink (BASE "dir/link") == 0); BASE 206 maint/gnulib/tests/test-chown.h ASSERT (unlink (BASE "dir/link2") == 0); BASE 207 maint/gnulib/tests/test-chown.h ASSERT (rmdir (BASE "dir") == 0); BASE 38 maint/gnulib/tests/test-creat.c unlink (BASE "file"); BASE 39 maint/gnulib/tests/test-creat.c unlink (BASE "e.exe"); BASE 48 maint/gnulib/tests/test-creat.c fd = creat (BASE "file", 0600); BASE 53 maint/gnulib/tests/test-creat.c fd = creat (BASE "e.exe", 0700); BASE 58 maint/gnulib/tests/test-creat.c ASSERT (unlink (BASE "file") == 0); BASE 59 maint/gnulib/tests/test-creat.c ASSERT (unlink (BASE "e.exe") == 0); BASE 175 maint/gnulib/tests/test-execute-main.c FILE *fp = fopen (BASE ".tmp", "w"); BASE 179 maint/gnulib/tests/test-execute-main.c fp = freopen (BASE ".tmp", "r", stdin); BASE 188 maint/gnulib/tests/test-execute-main.c ASSERT (remove (BASE ".tmp") == 0); BASE 194 maint/gnulib/tests/test-execute-main.c FILE *fp = fopen (BASE ".tmp", "w"); BASE 198 maint/gnulib/tests/test-execute-main.c fp = freopen (BASE ".tmp", "r", stdin); BASE 207 maint/gnulib/tests/test-execute-main.c ASSERT (remove (BASE ".tmp") == 0); BASE 213 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (BASE ".tmp", "w", stdout); BASE 224 maint/gnulib/tests/test-execute-main.c char *contents = read_file (BASE ".tmp", 0, &length); BASE 227 maint/gnulib/tests/test-execute-main.c ASSERT (remove (BASE ".tmp") == 0); BASE 245 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (BASE ".tmp", "w", stdout); BASE 256 maint/gnulib/tests/test-execute-main.c (void) read_file (BASE ".tmp", 0, &length); BASE 259 maint/gnulib/tests/test-execute-main.c ASSERT (remove (BASE ".tmp") == 0); BASE 265 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (BASE ".tmp", "w", stderr); BASE 276 maint/gnulib/tests/test-execute-main.c char *contents = read_file (BASE ".tmp", 0, &length); BASE 279 maint/gnulib/tests/test-execute-main.c ASSERT (remove (BASE ".tmp") == 0); BASE 297 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (BASE ".tmp", "w", stderr); BASE 308 maint/gnulib/tests/test-execute-main.c (void) read_file (BASE ".tmp", 0, &length); BASE 311 maint/gnulib/tests/test-execute-main.c ASSERT (remove (BASE ".tmp") == 0); BASE 348 maint/gnulib/tests/test-execute-main.c FILE *fp = fopen (BASE ".tmp", "w"); BASE 352 maint/gnulib/tests/test-execute-main.c int fd = open (BASE ".tmp", O_RDONLY); BASE 369 maint/gnulib/tests/test-execute-main.c ASSERT (remove (BASE ".tmp") == 0); BASE 376 maint/gnulib/tests/test-execute-main.c remove (BASE ".tmp"); BASE 377 maint/gnulib/tests/test-execute-main.c int fd = open (BASE ".tmp", O_RDWR | O_CREAT | O_TRUNC, 0600); BASE 395 maint/gnulib/tests/test-execute-main.c char *contents = read_file (BASE ".tmp", 0, &length); BASE 398 maint/gnulib/tests/test-execute-main.c ASSERT (remove (BASE ".tmp") == 0); BASE 405 maint/gnulib/tests/test-execute-main.c FILE *fp = fopen (BASE ".tmp", "w"); BASE 409 maint/gnulib/tests/test-execute-main.c int fd_in = open (BASE ".tmp", O_RDONLY); BASE 412 maint/gnulib/tests/test-execute-main.c int fd_out = open (BASE ".tmp", O_WRONLY | O_APPEND); BASE 434 maint/gnulib/tests/test-execute-main.c ASSERT (remove (BASE ".tmp") == 0); BASE 463 maint/gnulib/tests/test-execute-main.c rmdir (BASE ".sub"); BASE 464 maint/gnulib/tests/test-execute-main.c ASSERT (mkdir (BASE ".sub", 0700) == 0); BASE 474 maint/gnulib/tests/test-execute-main.c int ret = execute (progname, prog_argv[0], prog_argv, BASE ".sub", BASE 478 maint/gnulib/tests/test-execute-main.c ASSERT (rmdir (BASE ".sub") == 0); BASE 48 maint/gnulib/tests/test-faccessat.c unlink (BASE "file"); BASE 51 maint/gnulib/tests/test-faccessat.c ASSERT (close (open (BASE "file", O_CREAT | O_WRONLY, 0)) == 0); BASE 52 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "file", F_OK, 0) == 0); BASE 53 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "file/", F_OK, 0) != 0); BASE 54 maint/gnulib/tests/test-faccessat.c unlink (BASE "link1"); BASE 55 maint/gnulib/tests/test-faccessat.c if (symlink (".", BASE "link1") == 0) BASE 57 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link1", X_OK, 0) == 0); BASE 58 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link1/", X_OK, 0) == 0); BASE 60 maint/gnulib/tests/test-faccessat.c unlink (BASE "link2"); BASE 61 maint/gnulib/tests/test-faccessat.c ASSERT (symlink (BASE "file", BASE "link2") == 0); BASE 62 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link2", F_OK, 0) == 0); BASE 63 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link2/", F_OK, 0) != 0); BASE 64 maint/gnulib/tests/test-faccessat.c unlink (BASE "link2"); BASE 66 maint/gnulib/tests/test-faccessat.c unlink (BASE "link3"); BASE 67 maint/gnulib/tests/test-faccessat.c ASSERT (symlink (BASE "no-such-file", BASE "link3") == 0); BASE 68 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link3", F_OK, 0) != 0); BASE 69 maint/gnulib/tests/test-faccessat.c ASSERT (faccessat (AT_FDCWD, BASE "link3/", F_OK, 0) != 0); BASE 70 maint/gnulib/tests/test-faccessat.c unlink (BASE "link3"); BASE 72 maint/gnulib/tests/test-faccessat.c unlink (BASE "link1"); BASE 73 maint/gnulib/tests/test-faccessat.c unlink (BASE "file"); BASE 53 maint/gnulib/tests/test-fchmod.c unlink (BASE "file"); BASE 54 maint/gnulib/tests/test-fchmod.c ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 55 maint/gnulib/tests/test-fchmod.c fd = open (BASE "file", O_RDWR); BASE 58 maint/gnulib/tests/test-fchmod.c ASSERT (stat (BASE "file", &statbuf) >= 0); BASE 63 maint/gnulib/tests/test-fchmod.c ASSERT (chmod (BASE "file", 0600) == 0); BASE 64 maint/gnulib/tests/test-fchmod.c ASSERT (unlink (BASE "file") == 0); BASE 53 maint/gnulib/tests/test-fchmodat.c unlink (BASE "file"); BASE 54 maint/gnulib/tests/test-fchmodat.c ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 55 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "file", 0400, 0) == 0); BASE 56 maint/gnulib/tests/test-fchmodat.c ASSERT (stat (BASE "file", &statbuf) >= 0); BASE 60 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "file/", 0600, 0) == -1); BASE 64 maint/gnulib/tests/test-fchmodat.c ASSERT (chmod (BASE "file", 0600) == 0); BASE 65 maint/gnulib/tests/test-fchmodat.c ASSERT (unlink (BASE "file") == 0); BASE 71 maint/gnulib/tests/test-fchmodat.c rmdir (BASE "dir"); BASE 72 maint/gnulib/tests/test-fchmodat.c ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 73 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "dir", 0500, 0) == 0); BASE 74 maint/gnulib/tests/test-fchmodat.c ASSERT (stat (BASE "dir", &statbuf) >= 0); BASE 76 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "dir/", 0700, 0) == 0); BASE 79 maint/gnulib/tests/test-fchmodat.c ASSERT (rmdir (BASE "dir") == 0); BASE 86 maint/gnulib/tests/test-fchmodat.c unlink (BASE "file"); BASE 87 maint/gnulib/tests/test-fchmodat.c ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 88 maint/gnulib/tests/test-fchmodat.c ASSERT (fchmodat (AT_FDCWD, BASE "file", 0400, AT_SYMLINK_NOFOLLOW) == 0); BASE 89 maint/gnulib/tests/test-fchmodat.c ASSERT (stat (BASE "file", &statbuf) >= 0); BASE 92 maint/gnulib/tests/test-fchmodat.c ASSERT (chmod (BASE "file", 0600) == 0); BASE 93 maint/gnulib/tests/test-fchmodat.c ASSERT (unlink (BASE "file") == 0); BASE 39 maint/gnulib/tests/test-fchownat.c #ifndef BASE BASE 77 maint/gnulib/tests/test-fchownat.c ignore_value (system ("rm -rf " BASE "*")); BASE 45 maint/gnulib/tests/test-fclose.c fd = open (BASE, O_RDWR | O_CREAT | O_TRUNC, 0600); BASE 111 maint/gnulib/tests/test-fclose.c ASSERT (remove (BASE) == 0); BASE 101 maint/gnulib/tests/test-fdutimensat.c ignore_value (system ("rm -rf " BASE "*")); BASE 120 maint/gnulib/tests/test-fdutimensat.c ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 121 maint/gnulib/tests/test-fdutimensat.c ASSERT (chdir (BASE "dir") == 0); BASE 133 maint/gnulib/tests/test-fdutimensat.c ASSERT (fdutimensat (fd, dfd, BASE "dir/file", ts, 0) == 0); BASE 148 maint/gnulib/tests/test-fdutimensat.c ASSERT (unlink (BASE "dir/file") == 0); BASE 149 maint/gnulib/tests/test-fdutimensat.c ASSERT (rmdir (BASE "dir") == 0); BASE 44 maint/gnulib/tests/test-fopen-gnu.c unlink (BASE "file"); BASE 45 maint/gnulib/tests/test-fopen-gnu.c unlink (BASE "binary"); BASE 48 maint/gnulib/tests/test-fopen-gnu.c f = fopen (BASE "file", "w"); BASE 58 maint/gnulib/tests/test-fopen-gnu.c f = fopen (BASE "file", "we"); BASE 68 maint/gnulib/tests/test-fopen-gnu.c f = fopen (BASE "file", "ax"); BASE 73 maint/gnulib/tests/test-fopen-gnu.c f = fopen (BASE "binary", "wbe"); BASE 78 maint/gnulib/tests/test-fopen-gnu.c f = fopen (BASE "binary", "rbe"); BASE 84 maint/gnulib/tests/test-fopen-gnu.c ASSERT (unlink (BASE "file") == 0); BASE 85 maint/gnulib/tests/test-fopen-gnu.c ASSERT (unlink (BASE "binary") == 0); BASE 33 maint/gnulib/tests/test-fopen.h unlink (BASE "file"); BASE 37 maint/gnulib/tests/test-fopen.h ASSERT (fopen (BASE "file", "r") == NULL); BASE 41 maint/gnulib/tests/test-fopen.h f = fopen (BASE "file", "w"); BASE 47 maint/gnulib/tests/test-fopen.h ASSERT (fopen (BASE "file/", "r") == NULL); BASE 51 maint/gnulib/tests/test-fopen.h ASSERT (fopen (BASE "file/", "r+") == NULL); BASE 86 maint/gnulib/tests/test-fopen.h ASSERT (unlink (BASE "file") == 0); BASE 38 maint/gnulib/tests/test-fstatat.c #ifndef BASE BASE 75 maint/gnulib/tests/test-fstatat.c ignore_value (system ("rm -rf " BASE "*")); BASE 30 maint/gnulib/tests/test-fts.c static char base[] = BASE; /* Not const, since argv needs non-const. */ BASE 31 maint/gnulib/tests/test-fts.c static char const base_d[] = BASE "/d"; BASE 94 maint/gnulib/tests/test-fts.c char buf[sizeof BASE + 100]; BASE 108 maint/gnulib/tests/test-fts.c if (mkdir (BASE, 0777) != 0) BASE 48 maint/gnulib/tests/test-futimens.c ignore_value (system ("rm -rf " BASE "*")); BASE 27 maint/gnulib/tests/test-futimens.h int fd = creat (BASE "file", 0600); BASE 41 maint/gnulib/tests/test-futimens.h ASSERT (unlink (BASE "file") == 0); BASE 55 maint/gnulib/tests/test-futimens.h ASSERT (0 <= utimecmp (BASE "file", &st2, &st1, UTIMECMP_TRUNCATE_SOURCE)); BASE 122 maint/gnulib/tests/test-futimens.h ASSERT (utimecmp (BASE "file", &st1, &st2, 0) == 0); BASE 157 maint/gnulib/tests/test-futimens.h ASSERT (utimecmp (BASE "file", &st1, &st3, UTIMECMP_TRUNCATE_SOURCE) <= 0); BASE 175 maint/gnulib/tests/test-futimens.h ASSERT (unlink (BASE "file") == 0); BASE 74 maint/gnulib/tests/test-glob.c if ((symlink (GL_NO_SUCH_FILE, BASE "globlink1") == 0 || errno == EEXIST) BASE 75 maint/gnulib/tests/test-glob.c && (symlink (".", BASE "globlink2") == 0 || errno == EEXIST)) BASE 77 maint/gnulib/tests/test-glob.c res = glob (BASE "globlink[12]", 0, NULL, &g); BASE 79 maint/gnulib/tests/test-glob.c ASSERT (strcmp (g.gl_pathv[0], BASE "globlink1") == 0); BASE 80 maint/gnulib/tests/test-glob.c ASSERT (strcmp (g.gl_pathv[1], BASE "globlink2") == 0); BASE 83 maint/gnulib/tests/test-glob.c res = glob (BASE "globlink[12]", GLOB_MARK, NULL, &g); BASE 85 maint/gnulib/tests/test-glob.c ASSERT (strcmp (g.gl_pathv[0], BASE "globlink1") == 0); BASE 86 maint/gnulib/tests/test-glob.c ASSERT (strcmp (g.gl_pathv[1], BASE "globlink2/") == 0); BASE 39 maint/gnulib/tests/test-lchmod.c unlink (BASE "file"); BASE 40 maint/gnulib/tests/test-lchmod.c ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 41 maint/gnulib/tests/test-lchmod.c ASSERT (lchmod (BASE "file", 0400) == 0); BASE 42 maint/gnulib/tests/test-lchmod.c ASSERT (stat (BASE "file", &statbuf) >= 0); BASE 46 maint/gnulib/tests/test-lchmod.c ASSERT (lchmod (BASE "file/", 0600) == -1); BASE 50 maint/gnulib/tests/test-lchmod.c ASSERT (chmod (BASE "file", 0600) == 0); BASE 51 maint/gnulib/tests/test-lchmod.c ASSERT (unlink (BASE "file") == 0); BASE 58 maint/gnulib/tests/test-lchmod.c rmdir (BASE "dir"); BASE 59 maint/gnulib/tests/test-lchmod.c ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 60 maint/gnulib/tests/test-lchmod.c ASSERT (lchmod (BASE "dir", 0500) == 0); BASE 61 maint/gnulib/tests/test-lchmod.c ASSERT (stat (BASE "dir", &statbuf) >= 0); BASE 63 maint/gnulib/tests/test-lchmod.c ASSERT (lchmod (BASE "dir/", 0700) == 0); BASE 66 maint/gnulib/tests/test-lchmod.c ASSERT (rmdir (BASE "dir") == 0); BASE 71 maint/gnulib/tests/test-lchmod.c unlink (BASE "file"); BASE 72 maint/gnulib/tests/test-lchmod.c unlink (BASE "link"); BASE 73 maint/gnulib/tests/test-lchmod.c if (symlink (BASE "file", BASE "link") == 0) BASE 76 maint/gnulib/tests/test-lchmod.c ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 77 maint/gnulib/tests/test-lchmod.c lchmod (BASE "link", 0400); BASE 78 maint/gnulib/tests/test-lchmod.c ASSERT (stat (BASE "file", &statbuf) >= 0); BASE 82 maint/gnulib/tests/test-lchmod.c unlink (BASE "file"); BASE 83 maint/gnulib/tests/test-lchmod.c unlink (BASE "link"); BASE 46 maint/gnulib/tests/test-lchown.c ignore_value (system ("rm -rf " BASE "*")); BASE 65 maint/gnulib/tests/test-lchown.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 66 maint/gnulib/tests/test-lchown.h ASSERT (stat (BASE "dir", &st1) == 0); BASE 69 maint/gnulib/tests/test-lchown.h result = func (BASE "dir", st1.st_uid, getegid ()); BASE 72 maint/gnulib/tests/test-lchown.h ASSERT (rmdir (BASE "dir") == 0); BASE 79 maint/gnulib/tests/test-lchown.h ASSERT (close (creat (BASE "dir/file", 0600)) == 0); BASE 80 maint/gnulib/tests/test-lchown.h ASSERT (stat (BASE "dir/file", &st1) == 0); BASE 96 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/file/", -1, -1) == -1); BASE 100 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/file", -1, st1.st_gid) == 0); BASE 101 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/file", st1.st_uid, -1) == 0); BASE 102 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/file", (uid_t) -1, (gid_t) -1) == 0); BASE 103 maint/gnulib/tests/test-lchown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 110 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/file", st1.st_uid, st1.st_gid) == 0); BASE 111 maint/gnulib/tests/test-lchown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 117 maint/gnulib/tests/test-lchown.h if (symlink ("link", BASE "dir/link2")) BASE 119 maint/gnulib/tests/test-lchown.h ASSERT (unlink (BASE "dir/file") == 0); BASE 120 maint/gnulib/tests/test-lchown.h ASSERT (rmdir (BASE "dir") == 0); BASE 126 maint/gnulib/tests/test-lchown.h result = func (BASE "dir/link2", -1, -1); BASE 129 maint/gnulib/tests/test-lchown.h ASSERT (unlink (BASE "dir/file") == 0); BASE 130 maint/gnulib/tests/test-lchown.h ASSERT (unlink (BASE "dir/link2") == 0); BASE 131 maint/gnulib/tests/test-lchown.h ASSERT (rmdir (BASE "dir") == 0); BASE 138 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/link2/", st1.st_uid, st1.st_gid) == -1); BASE 140 maint/gnulib/tests/test-lchown.h ASSERT (symlink ("file", BASE "dir/link") == 0); BASE 141 maint/gnulib/tests/test-lchown.h ASSERT (mkdir (BASE "dir/sub", 0700) == 0); BASE 142 maint/gnulib/tests/test-lchown.h ASSERT (symlink ("sub", BASE "dir/link3") == 0); BASE 154 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 157 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 162 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/link2/", -1, gids[1]) == -1); BASE 164 maint/gnulib/tests/test-lchown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 167 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 170 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 174 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/link2", -1, gids[1]) == 0); BASE 175 maint/gnulib/tests/test-lchown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 178 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 181 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 186 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link3", &st2) == 0); BASE 189 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/sub", &st2) == 0); BASE 193 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/link3/", -1, gids[1]) == 0); BASE 194 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link3", &st2) == 0); BASE 197 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/sub", &st2) == 0); BASE 207 maint/gnulib/tests/test-lchown.h ASSERT (stat (BASE "dir/file", &st1) == 0); BASE 208 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link", &l1) == 0); BASE 209 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link2", &l2) == 0); BASE 213 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/link2/", -1, st1.st_gid) == -1); BASE 215 maint/gnulib/tests/test-lchown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 218 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 221 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 225 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/link2", -1, st1.st_gid) == 0); BASE 226 maint/gnulib/tests/test-lchown.h ASSERT (stat (BASE "dir/file", &st2) == 0); BASE 229 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link", &st2) == 0); BASE 232 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link2", &st2) == 0); BASE 238 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/sub", &st1) == 0); BASE 239 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link3", &l1) == 0); BASE 241 maint/gnulib/tests/test-lchown.h ASSERT (func (BASE "dir/link3/", -1, st1.st_gid) == 0); BASE 242 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/link3", &st2) == 0); BASE 245 maint/gnulib/tests/test-lchown.h ASSERT (lstat (BASE "dir/sub", &st2) == 0); BASE 253 maint/gnulib/tests/test-lchown.h ASSERT (unlink (BASE "dir/file") == 0); BASE 254 maint/gnulib/tests/test-lchown.h ASSERT (unlink (BASE "dir/link") == 0); BASE 255 maint/gnulib/tests/test-lchown.h ASSERT (unlink (BASE "dir/link2") == 0); BASE 256 maint/gnulib/tests/test-lchown.h ASSERT (unlink (BASE "dir/link3") == 0); BASE 257 maint/gnulib/tests/test-lchown.h ASSERT (rmdir (BASE "dir/sub") == 0); BASE 258 maint/gnulib/tests/test-lchown.h ASSERT (rmdir (BASE "dir") == 0); BASE 44 maint/gnulib/tests/test-link.c ignore_value (system ("rm -rf " BASE "*")); BASE 31 maint/gnulib/tests/test-link.h fd = open (BASE "a", O_CREAT | O_EXCL | O_WRONLY, 0600); BASE 41 maint/gnulib/tests/test-link.h ret = func (BASE "a", BASE "b"); BASE 45 maint/gnulib/tests/test-link.h ASSERT (stat (BASE "b", &st) == 0); BASE 48 maint/gnulib/tests/test-link.h ASSERT (unlink (BASE "b") == 0); BASE 65 maint/gnulib/tests/test-link.h ASSERT (unlink (BASE "a") == 0); BASE 76 maint/gnulib/tests/test-link.h fd = open (BASE "b", O_APPEND | O_WRONLY); BASE 82 maint/gnulib/tests/test-link.h fd = open (BASE "a", O_RDONLY); BASE 87 maint/gnulib/tests/test-link.h ASSERT (unlink (BASE "b") == 0); BASE 88 maint/gnulib/tests/test-link.h fd = open (BASE "a", O_RDONLY); BASE 96 maint/gnulib/tests/test-link.h ASSERT (mkdir (BASE "d", 0700) == 0); BASE 98 maint/gnulib/tests/test-link.h ASSERT (func (BASE "a", ".") == -1); BASE 101 maint/gnulib/tests/test-link.h ASSERT (func (BASE "a", BASE "a") == -1); BASE 103 maint/gnulib/tests/test-link.h ASSERT (func (BASE "a", BASE "b") == 0); BASE 105 maint/gnulib/tests/test-link.h ASSERT (func (BASE "a", BASE "b") == -1); BASE 108 maint/gnulib/tests/test-link.h ASSERT (func (BASE "a", BASE "d") == -1); BASE 111 maint/gnulib/tests/test-link.h ASSERT (func (BASE "c", BASE "e") == -1); BASE 114 maint/gnulib/tests/test-link.h ASSERT (func (BASE "a", BASE "c/.") == -1); BASE 117 maint/gnulib/tests/test-link.h ASSERT (func (BASE "a/", BASE "c") == -1); BASE 120 maint/gnulib/tests/test-link.h ASSERT (func (BASE "a", BASE "c/") == -1); BASE 130 maint/gnulib/tests/test-link.h result = func (BASE "d", BASE "c"); BASE 134 maint/gnulib/tests/test-link.h ASSERT (unlink (BASE "c") == 0); BASE 141 maint/gnulib/tests/test-link.h ASSERT (func (BASE "d/.", BASE "c") == -1); BASE 145 maint/gnulib/tests/test-link.h ASSERT (func (BASE "d/.//", BASE "c") == -1); BASE 150 maint/gnulib/tests/test-link.h ASSERT (unlink (BASE "a") == 0); BASE 152 maint/gnulib/tests/test-link.h ASSERT (unlink (BASE "c") == -1); BASE 154 maint/gnulib/tests/test-link.h ASSERT (rmdir (BASE "d") == 0); BASE 157 maint/gnulib/tests/test-link.h if (symlink (BASE "a", BASE "link") != 0) BASE 159 maint/gnulib/tests/test-link.h ASSERT (unlink (BASE "b") == 0); BASE 166 maint/gnulib/tests/test-link.h ASSERT (func (BASE "b", BASE "link/") == -1); BASE 170 maint/gnulib/tests/test-link.h ASSERT (func (BASE "b", BASE "link") == -1); BASE 172 maint/gnulib/tests/test-link.h ASSERT (rename (BASE "b", BASE "a") == 0); BASE 174 maint/gnulib/tests/test-link.h ASSERT (func (BASE "link/", BASE "b") == -1); BASE 178 maint/gnulib/tests/test-link.h ASSERT (unlink (BASE "a") == 0); BASE 179 maint/gnulib/tests/test-link.h ASSERT (unlink (BASE "link") == 0); BASE 96 maint/gnulib/tests/test-linkat.c ignore_value (system ("rm -rf " BASE "*")); BASE 110 maint/gnulib/tests/test-linkat.c ASSERT (close (creat (BASE "oo", 0600)) == 0); BASE 113 maint/gnulib/tests/test-linkat.c ASSERT (linkat (AT_FDCWD, BASE "oo", -1, "bar", 0) == -1); BASE 118 maint/gnulib/tests/test-linkat.c ASSERT (linkat (AT_FDCWD, BASE "oo", 99, "bar", 0) == -1); BASE 121 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "oo") == 0); BASE 143 maint/gnulib/tests/test-linkat.c ASSERT (mkdir (BASE "sub1", 0700) == 0); BASE 144 maint/gnulib/tests/test-linkat.c ASSERT (mkdir (BASE "sub2", 0700) == 0); BASE 145 maint/gnulib/tests/test-linkat.c ASSERT (close (creat (BASE "00", 0600)) == 0); BASE 149 maint/gnulib/tests/test-linkat.c dfd = open (BASE "sub1", O_RDONLY); BASE 151 maint/gnulib/tests/test-linkat.c ASSERT (chdir (BASE "sub2") == 0); BASE 168 maint/gnulib/tests/test-linkat.c char *file1 = mfile_name_concat ((i & 4) ? ".." : cwd, BASE "xx", NULL); BASE 170 maint/gnulib/tests/test-linkat.c char *file2 = mfile_name_concat ((i & 1) ? ".." : cwd, BASE "xx", NULL); BASE 184 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, "../" BASE "32", dfd2, BASE "33", 0) == 0); BASE 185 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, "../" BASE "33", dfd2, BASE "34", BASE 193 maint/gnulib/tests/test-linkat.c if (symlink (BASE "sub1", BASE "link1")) BASE 195 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "32") == 0); BASE 196 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "33") == 0); BASE 197 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "34") == 0); BASE 198 maint/gnulib/tests/test-linkat.c ASSERT (rmdir (BASE "sub1") == 0); BASE 199 maint/gnulib/tests/test-linkat.c ASSERT (rmdir (BASE "sub2") == 0); BASE 208 maint/gnulib/tests/test-linkat.c ASSERT (symlink (BASE "34", BASE "link2") == 0); BASE 209 maint/gnulib/tests/test-linkat.c ASSERT (symlink (BASE "link3", BASE "link3") == 0); BASE 210 maint/gnulib/tests/test-linkat.c ASSERT (symlink (BASE "nowhere", BASE "link4") == 0); BASE 214 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "sub1", 0) == -1); BASE 217 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1/", dfd, BASE "sub1", 0) == -1); BASE 220 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "sub1/", 0) == -1); BASE 223 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "sub1", BASE 227 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1/", dfd, BASE "sub1", BASE 232 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "sub1/", BASE 237 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "link2", 0) == -1); BASE 240 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "link2", BASE 244 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "link3", 0) == -1); BASE 247 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "link3", BASE 252 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link2", dfd, BASE "link3", 0) == -1); BASE 255 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link2", dfd, BASE "link3", BASE 261 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "link4", 0) == -1); BASE 263 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "link4", BASE 267 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "34", dfd, BASE "link4", 0) == -1); BASE 270 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "34", dfd, BASE "link4", AT_SYMLINK_FOLLOW) == -1); BASE 275 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link2/", dfd, BASE "link5", 0) == -1); BASE 278 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link2/", dfd, BASE "link5", BASE 282 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link3/", dfd, BASE "link5", 0) == -1); BASE 285 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link3/", dfd, BASE "link5", BASE 289 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link4/", dfd, BASE "link5", 0) == -1); BASE 292 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link4/", dfd, BASE "link5", BASE 297 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "link5", 0) == 0); BASE 298 maint/gnulib/tests/test-linkat.c check_same_link (BASE "link1", BASE "link5"); BASE 299 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link5") == 0); BASE 301 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link1", dfd, BASE "link5", BASE 304 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link2", dfd, BASE "link5", 0) == 0); BASE 305 maint/gnulib/tests/test-linkat.c check_same_link (BASE "link2", BASE "link5"); BASE 306 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link5") == 0); BASE 307 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link2", dfd, BASE "file", AT_SYMLINK_FOLLOW) == 0); BASE 309 maint/gnulib/tests/test-linkat.c ASSERT (areadlink (BASE "file") == NULL); BASE 311 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "file") == 0); BASE 312 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link3", dfd, BASE "link5", 0) == 0); BASE 313 maint/gnulib/tests/test-linkat.c check_same_link (BASE "link3", BASE "link5"); BASE 314 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link5") == 0); BASE 316 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link3", dfd, BASE "link5", BASE 319 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link4", dfd, BASE "link5", 0) == 0); BASE 320 maint/gnulib/tests/test-linkat.c check_same_link (BASE "link4", BASE "link5"); BASE 321 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link5") == 0); BASE 323 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link4", dfd, BASE "link5", BASE 328 maint/gnulib/tests/test-linkat.c ASSERT (symlink (BASE "link2", BASE "link5") == 0); BASE 329 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link5", dfd, BASE "link6", 0) == 0); BASE 330 maint/gnulib/tests/test-linkat.c check_same_link (BASE "link5", BASE "link6"); BASE 331 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link6") == 0); BASE 332 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link5", dfd, BASE "file", AT_SYMLINK_FOLLOW) == 0); BASE 334 maint/gnulib/tests/test-linkat.c ASSERT (areadlink (BASE "file") == NULL); BASE 336 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "file") == 0); BASE 337 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link5") == 0); BASE 338 maint/gnulib/tests/test-linkat.c ASSERT (symlink (BASE "link3", BASE "link5") == 0); BASE 340 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link5", dfd, BASE "file", BASE 343 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link5") == 0); BASE 344 maint/gnulib/tests/test-linkat.c ASSERT (symlink (BASE "link4", BASE "link5") == 0); BASE 346 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, BASE "link5", dfd, BASE "file", BASE 351 maint/gnulib/tests/test-linkat.c ASSERT (symlink (cwd, BASE "sub1/link") == 0); BASE 352 maint/gnulib/tests/test-linkat.c ASSERT (symlink (".././/" BASE "sub1/link/" BASE "link2", BASE 353 maint/gnulib/tests/test-linkat.c BASE "sub2/link") == 0); BASE 355 maint/gnulib/tests/test-linkat.c dfd = open (BASE "sub1", O_RDONLY); BASE 357 maint/gnulib/tests/test-linkat.c dfd2 = open (BASE "sub2", O_RDONLY); BASE 359 maint/gnulib/tests/test-linkat.c ASSERT (linkat (dfd, "../" BASE "sub2/link", dfd2, "./..//" BASE "sub1/file", BASE 362 maint/gnulib/tests/test-linkat.c ASSERT (areadlink (BASE "sub1/file") == NULL); BASE 368 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "sub1/file") == 0); BASE 369 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "sub1/link") == 0); BASE 370 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "sub2/link") == 0); BASE 371 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "32") == 0); BASE 372 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "33") == 0); BASE 373 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "34") == 0); BASE 374 maint/gnulib/tests/test-linkat.c ASSERT (rmdir (BASE "sub1") == 0); BASE 375 maint/gnulib/tests/test-linkat.c ASSERT (rmdir (BASE "sub2") == 0); BASE 376 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link1") == 0); BASE 377 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link2") == 0); BASE 378 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link3") == 0); BASE 379 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link4") == 0); BASE 380 maint/gnulib/tests/test-linkat.c ASSERT (unlink (BASE "link5") == 0); BASE 57 maint/gnulib/tests/test-lstat.c ignore_value (system ("rm -rf " BASE "*")); BASE 60 maint/gnulib/tests/test-lstat.h ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 61 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "file", &st1) == 0); BASE 64 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "file/", &st1) == -1); BASE 74 maint/gnulib/tests/test-lstat.h if (symlink (".", BASE "link1") != 0) BASE 76 maint/gnulib/tests/test-lstat.h ASSERT (unlink (BASE "file") == 0); BASE 82 maint/gnulib/tests/test-lstat.h ASSERT (symlink (BASE "file", BASE "link2") == 0); BASE 83 maint/gnulib/tests/test-lstat.h ASSERT (symlink (BASE "nosuch", BASE "link3") == 0); BASE 84 maint/gnulib/tests/test-lstat.h ASSERT (symlink (BASE "link4", BASE "link4") == 0); BASE 86 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "link1", &st1) == 0); BASE 88 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "link1/", &st1) == 0); BASE 89 maint/gnulib/tests/test-lstat.h ASSERT (stat (BASE "link1", &st2) == 0); BASE 96 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "link2", &st1) == 0); BASE 99 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "link2/", &st1) == -1); BASE 102 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "link3", &st1) == 0); BASE 105 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "link3/", &st1) == -1); BASE 108 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "link4", &st1) == 0); BASE 111 maint/gnulib/tests/test-lstat.h ASSERT (func (BASE "link4/", &st1) == -1); BASE 115 maint/gnulib/tests/test-lstat.h ASSERT (unlink (BASE "file") == 0); BASE 116 maint/gnulib/tests/test-lstat.h ASSERT (unlink (BASE "link1") == 0); BASE 117 maint/gnulib/tests/test-lstat.h ASSERT (unlink (BASE "link2") == 0); BASE 118 maint/gnulib/tests/test-lstat.h ASSERT (unlink (BASE "link3") == 0); BASE 119 maint/gnulib/tests/test-lstat.h ASSERT (unlink (BASE "link4") == 0); BASE 42 maint/gnulib/tests/test-lutimens.h ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 43 maint/gnulib/tests/test-lutimens.h ASSERT (stat (BASE "file", &st1) == 0); BASE 52 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "file/", ts) == -1); BASE 54 maint/gnulib/tests/test-lutimens.h ASSERT (stat (BASE "file", &st2) == 0); BASE 64 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "file", ts) == 0); BASE 66 maint/gnulib/tests/test-lutimens.h ASSERT (stat (BASE "file", &st2) == 0); BASE 73 maint/gnulib/tests/test-lutimens.h if (symlink (BASE "file", BASE "link")) BASE 75 maint/gnulib/tests/test-lutimens.h ASSERT (unlink (BASE "file") == 0); BASE 82 maint/gnulib/tests/test-lutimens.h result = func (BASE "link", NULL); BASE 85 maint/gnulib/tests/test-lutimens.h ASSERT (stat (BASE "file", &st1) == 0); BASE 88 maint/gnulib/tests/test-lutimens.h ASSERT (lstat (BASE "link", &st1) == 0); BASE 91 maint/gnulib/tests/test-lutimens.h ASSERT (unlink (BASE "file") == 0); BASE 94 maint/gnulib/tests/test-lutimens.h ASSERT (unlink (BASE "link") == 0); BASE 102 maint/gnulib/tests/test-lutimens.h ASSERT (lstat (BASE "link", &st1) == 0); BASE 106 maint/gnulib/tests/test-lutimens.h ASSERT (lstat (BASE "link", &st2) == 0); BASE 121 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == -1); BASE 131 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == -1); BASE 134 maint/gnulib/tests/test-lutimens.h ASSERT (lstat (BASE "link", &st2) == 0); BASE 140 maint/gnulib/tests/test-lutimens.h ASSERT (utimecmp (BASE "link", &st1, &st2, 0) == 0); BASE 150 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == 0); BASE 151 maint/gnulib/tests/test-lutimens.h ASSERT (lstat (BASE "link", &st2) == 0); BASE 174 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == 0); BASE 175 maint/gnulib/tests/test-lutimens.h ASSERT (lstat (BASE "link", &st3) == 0); BASE 182 maint/gnulib/tests/test-lutimens.h ASSERT (utimecmp (BASE "link", &st1, &st3, 0) <= 0); BASE 188 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", ts) == 0); BASE 189 maint/gnulib/tests/test-lutimens.h ASSERT (lstat (BASE "link", &st2) == 0); BASE 202 maint/gnulib/tests/test-lutimens.h ASSERT (unlink (BASE "link") == 0); BASE 203 maint/gnulib/tests/test-lutimens.h ASSERT (symlink (BASE "dir", BASE "link") == 0); BASE 204 maint/gnulib/tests/test-lutimens.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 210 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link/", ts) == 0); BASE 214 maint/gnulib/tests/test-lutimens.h ASSERT (stat (BASE "dir", &st1) == 0); BASE 216 maint/gnulib/tests/test-lutimens.h ASSERT (lstat (BASE "link", &st1) == 0); BASE 219 maint/gnulib/tests/test-lutimens.h ASSERT (func (BASE "link", NULL) == 0); BASE 220 maint/gnulib/tests/test-lutimens.h ASSERT (stat (BASE "dir", &st1) == 0); BASE 222 maint/gnulib/tests/test-lutimens.h ASSERT (lstat (BASE "link", &st1) == 0); BASE 227 maint/gnulib/tests/test-lutimens.h ASSERT (rmdir (BASE "dir") == 0); BASE 228 maint/gnulib/tests/test-lutimens.h ASSERT (unlink (BASE "link") == 0); BASE 44 maint/gnulib/tests/test-mkdir.c ignore_value (system ("rm -rf " BASE "*")); BASE 27 maint/gnulib/tests/test-mkdir.h ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 29 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "file", 0700) == -1); BASE 32 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "file/", 0700) == -1); BASE 35 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "file/dir", 0700) == -1); BASE 37 maint/gnulib/tests/test-mkdir.h ASSERT (unlink (BASE "file") == 0); BASE 42 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "dir/sub", 0700) == -1); BASE 45 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "dir/.", 0700) == -1); BASE 48 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "dir/.//", 0700) == -1); BASE 52 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "dir", 0700) == 0); BASE 54 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "dir", 0700) == -1); BASE 56 maint/gnulib/tests/test-mkdir.h ASSERT (rmdir (BASE "dir") == 0); BASE 57 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "dir/", 0700) == 0); BASE 59 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "dir/", 0700) == -1); BASE 61 maint/gnulib/tests/test-mkdir.h ASSERT (rmdir (BASE "dir") == 0); BASE 67 maint/gnulib/tests/test-mkdir.h if (symlink (BASE "dir", BASE "link")) BASE 75 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "link", 0700) == -1); BASE 80 maint/gnulib/tests/test-mkdir.h result = func (BASE "link/", 0700); BASE 82 maint/gnulib/tests/test-mkdir.h ASSERT (rmdir (BASE "dir") == 0); BASE 88 maint/gnulib/tests/test-mkdir.h ASSERT (rmdir (BASE "dir") == -1); BASE 93 maint/gnulib/tests/test-mkdir.h ASSERT (func (BASE "link/.", 0700) == -1); BASE 95 maint/gnulib/tests/test-mkdir.h ASSERT (unlink (BASE "link") == 0); BASE 55 maint/gnulib/tests/test-mkdirat.c ignore_value (system ("rm -rf " BASE "*")); BASE 77 maint/gnulib/tests/test-mkdirat.c ASSERT (mkdirat (dfd, BASE "dir1", 0700) == 0); BASE 78 maint/gnulib/tests/test-mkdirat.c ASSERT (chdir (BASE "dir1") == 0); BASE 82 maint/gnulib/tests/test-mkdirat.c ASSERT (mkdirat (dfd, BASE "dir2", 0700) == 0); BASE 85 maint/gnulib/tests/test-mkdirat.c ASSERT (mkdirat (dfd, BASE "dir3", 0700) == -1); BASE 94 maint/gnulib/tests/test-mkdirat.c ASSERT (rmdir (BASE "dir1") == 0); BASE 95 maint/gnulib/tests/test-mkdirat.c ASSERT (rmdir (BASE "dir2") == 0); BASE 44 maint/gnulib/tests/test-mkfifo.c ignore_value (system ("rm -rf " BASE "*")); BASE 28 maint/gnulib/tests/test-mkfifo.h int result = func (BASE "fifo", 0600); BASE 37 maint/gnulib/tests/test-mkfifo.h ASSERT (stat (BASE "fifo", &st) == 0); BASE 51 maint/gnulib/tests/test-mkfifo.h ASSERT (func (BASE "fifo", 0600) == -1); BASE 53 maint/gnulib/tests/test-mkfifo.h ASSERT (unlink (BASE "fifo") == 0); BASE 55 maint/gnulib/tests/test-mkfifo.h ASSERT (func (BASE "fifo/", 0600) == -1); BASE 59 maint/gnulib/tests/test-mkfifo.h if (symlink (BASE "fifo", BASE "link")) BASE 67 maint/gnulib/tests/test-mkfifo.h ASSERT (func (BASE "link", 0600) == -1); BASE 70 maint/gnulib/tests/test-mkfifo.h ASSERT (func (BASE "link/", 0600) == -1); BASE 73 maint/gnulib/tests/test-mkfifo.h ASSERT (unlink (BASE "fifo") == -1); BASE 75 maint/gnulib/tests/test-mkfifo.h ASSERT (unlink (BASE "link") == 0); BASE 76 maint/gnulib/tests/test-mkfifoat.c ignore_value (system ("rm -rf " BASE "*")); BASE 110 maint/gnulib/tests/test-mkfifoat.c if (func (AT_FDCWD, BASE "fifo", 0600) != 0) BASE 115 maint/gnulib/tests/test-mkfifoat.c ASSERT (func (dfd, BASE "fifo", 0600) == -1); BASE 119 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (AT_FDCWD, BASE "fifo", &st, 0) == -1); BASE 122 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (dfd, BASE "fifo", &st, 0) == 0); BASE 124 maint/gnulib/tests/test-mkfifoat.c ASSERT (unlinkat (dfd, BASE "fifo", 0) == 0); BASE 128 maint/gnulib/tests/test-mkfifoat.c if (func (dfd, BASE "fifo", 0600) != 0) BASE 134 maint/gnulib/tests/test-mkfifoat.c ASSERT (func (AT_FDCWD, BASE "fifo", 0600) == -1); BASE 137 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (AT_FDCWD, BASE "fifo", &st, AT_SYMLINK_NOFOLLOW) BASE 141 maint/gnulib/tests/test-mkfifoat.c ASSERT (fstatat (dfd, BASE "fifo", &st, AT_SYMLINK_NOFOLLOW) == 0); BASE 143 maint/gnulib/tests/test-mkfifoat.c ASSERT (unlink (BASE "fifo") == 0); BASE 51 maint/gnulib/tests/test-mknod.c ignore_value (system ("rm -rf " BASE "*")); BASE 42 maint/gnulib/tests/test-open.h unlink (BASE "file"); BASE 43 maint/gnulib/tests/test-open.h unlink (BASE "e.exe"); BASE 44 maint/gnulib/tests/test-open.h unlink (BASE "link"); BASE 53 maint/gnulib/tests/test-open.h fd = func (BASE "file", O_CREAT | O_RDONLY, 0600); BASE 58 maint/gnulib/tests/test-open.h fd = func (BASE "e.exe", O_CREAT | O_RDONLY, 0700); BASE 64 maint/gnulib/tests/test-open.h ASSERT (func (BASE "file/", O_RDONLY) == -1); BASE 87 maint/gnulib/tests/test-open.h fd = func (BASE "file", O_NONBLOCK | O_RDONLY); BASE 102 maint/gnulib/tests/test-open.h fd = func (BASE "file", O_CLOEXEC | O_RDONLY); BASE 112 maint/gnulib/tests/test-open.h if (symlink (BASE "file", BASE "link") != 0) BASE 114 maint/gnulib/tests/test-open.h ASSERT (unlink (BASE "file") == 0); BASE 121 maint/gnulib/tests/test-open.h ASSERT (func (BASE "link/", O_RDONLY) == -1); BASE 123 maint/gnulib/tests/test-open.h fd = func (BASE "link", O_RDONLY); BASE 128 maint/gnulib/tests/test-open.h ASSERT (unlink (BASE "file") == 0); BASE 129 maint/gnulib/tests/test-open.h ASSERT (unlink (BASE "e.exe") == 0); BASE 130 maint/gnulib/tests/test-open.h ASSERT (unlink (BASE "link") == 0); BASE 44 maint/gnulib/tests/test-perror2.c ASSERT (freopen (BASE ".tmp", "w+", stderr) == stderr); BASE 114 maint/gnulib/tests/test-perror2.c ASSERT (freopen (BASE ".tmp", "r", stderr) == stderr); BASE 130 maint/gnulib/tests/test-perror2.c ASSERT (remove (BASE ".tmp") == 0); BASE 45 maint/gnulib/tests/test-readlink.c ignore_value (system ("rm -rf " BASE "*")); BASE 48 maint/gnulib/tests/test-readlink.h ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 50 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "file", buf, sizeof buf) == -1); BASE 53 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "file/", buf, sizeof buf) == -1); BASE 57 maint/gnulib/tests/test-readlink.h if (symlink (BASE "dir", BASE "link")) BASE 59 maint/gnulib/tests/test-readlink.h ASSERT (unlink (BASE "file") == 0); BASE 65 maint/gnulib/tests/test-readlink.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 67 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link/", buf, sizeof buf) == -1); BASE 69 maint/gnulib/tests/test-readlink.h ASSERT (symlink (BASE "link", BASE "link2") == 0); BASE 71 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link2/", buf, sizeof buf) == -1); BASE 73 maint/gnulib/tests/test-readlink.h ASSERT (unlink (BASE "link2") == 0); BASE 74 maint/gnulib/tests/test-readlink.h ASSERT (symlink (BASE "file", BASE "link2") == 0); BASE 76 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link2/", buf, sizeof buf) == -1); BASE 78 maint/gnulib/tests/test-readlink.h ASSERT (unlink (BASE "file") == 0); BASE 79 maint/gnulib/tests/test-readlink.h ASSERT (unlink (BASE "link2") == 0); BASE 88 maint/gnulib/tests/test-readlink.h size_t len = strlen (BASE "dir"); BASE 94 maint/gnulib/tests/test-readlink.h result = readlink (BASE "link", buf, 1); BASE 103 maint/gnulib/tests/test-readlink.h ASSERT (buf[0] == BASE[0]); BASE 106 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link", buf, len) == len); BASE 107 maint/gnulib/tests/test-readlink.h ASSERT (strncmp (buf, BASE "dir", len) == 0); BASE 109 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link", buf, sizeof buf) == len); BASE 110 maint/gnulib/tests/test-readlink.h ASSERT (strncmp (buf, BASE "dir", len) == 0); BASE 115 maint/gnulib/tests/test-readlink.h ASSERT (rmdir (BASE "dir") == 0); BASE 116 maint/gnulib/tests/test-readlink.h ASSERT (unlink (BASE "link") == 0); BASE 60 maint/gnulib/tests/test-readlinkat.c ignore_value (system ("rm -rf " BASE "*")); BASE 89 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, AT_FDCWD, BASE "link") == 0); BASE 91 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, dfd, BASE "link") == -1); BASE 95 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (AT_FDCWD, BASE "link", buf, sizeof buf) == -1); BASE 97 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (dfd, BASE "link", buf, sizeof buf) == exp); BASE 99 maint/gnulib/tests/test-readlinkat.c ASSERT (unlinkat (dfd, BASE "link", 0) == 0); BASE 102 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, dfd, BASE "link") == 0); BASE 105 maint/gnulib/tests/test-readlinkat.c ASSERT (symlinkat (contents, AT_FDCWD, BASE "link") == -1); BASE 108 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (AT_FDCWD, BASE "link", buf, sizeof buf) == exp); BASE 111 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (dfd, BASE "link", buf, sizeof buf) == exp); BASE 113 maint/gnulib/tests/test-readlinkat.c ASSERT (unlink (BASE "link") == 0); BASE 42 maint/gnulib/tests/test-remove.c ignore_value (system ("rm -rf " BASE "*")); BASE 45 maint/gnulib/tests/test-remove.c ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 46 maint/gnulib/tests/test-remove.c ASSERT (close (creat (BASE "dir/file", 0600)) == 0); BASE 67 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "dir/file/") == -1); BASE 72 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "dir") == -1); BASE 76 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "dir/file") == 0); BASE 80 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "dir/.//") == -1); BASE 82 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "dir") == 0); BASE 87 maint/gnulib/tests/test-remove.c if (symlink (BASE "dir", BASE "link") != 0) BASE 93 maint/gnulib/tests/test-remove.c ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 95 maint/gnulib/tests/test-remove.c if (remove (BASE "link/") == 0) BASE 99 maint/gnulib/tests/test-remove.c ASSERT (stat (BASE "link", &st) == -1); BASE 103 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "dir") == 0); BASE 106 maint/gnulib/tests/test-remove.c ASSERT (lstat (BASE "link", &st) == 0); BASE 109 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "link") == 0); BASE 111 maint/gnulib/tests/test-remove.c ASSERT (symlink (BASE "loop", BASE "loop") == 0); BASE 113 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "loop/") == -1); BASE 115 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "loop") == 0); BASE 116 maint/gnulib/tests/test-remove.c ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 117 maint/gnulib/tests/test-remove.c ASSERT (symlink (BASE "file", BASE "link") == 0); BASE 119 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "link/") == -1); BASE 121 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "link") == 0); BASE 122 maint/gnulib/tests/test-remove.c ASSERT (remove (BASE "file") == 0); BASE 44 maint/gnulib/tests/test-rename.c ignore_value (system ("rm -rf " BASE "*")); BASE 76 maint/gnulib/tests/test-rename.h int fd = creat (BASE "file", 0600); BASE 80 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 92 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "missing", BASE "missing") == -1); BASE 97 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "missing/", BASE "missing") == -1); BASE 102 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "missing", BASE "missing/") == -1); BASE 109 maint/gnulib/tests/test-rename.h ASSERT (func ("", BASE "missing") == -1); BASE 114 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file", "") == -1); BASE 119 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "", "") == -1); BASE 129 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file", BASE "file2/") == -1); BASE 134 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file/", BASE "file2") == -1); BASE 139 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == -1); BASE 144 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file", BASE "file2") == 0); BASE 146 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == -1); BASE 149 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == 0); BASE 157 maint/gnulib/tests/test-rename.h ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 159 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file2", BASE "file/") == -1); BASE 161 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file2", BASE "file") == 0); BASE 163 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == 0); BASE 166 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == -1); BASE 178 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "dir2/") == 0); BASE 180 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir", &st) == -1); BASE 182 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2", &st) == 0); BASE 189 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2/", BASE "dir") == 0); BASE 190 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir", &st) == 0); BASE 192 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2", &st) == -1); BASE 200 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "dir2") == 0); BASE 202 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir", &st) == -1); BASE 204 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2", &st) == 0); BASE 211 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 217 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2", BASE "dir") == 0); BASE 222 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir2", 0700) == 0); BASE 228 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2", BASE "dir/") == 0); BASE 233 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir2", 0700) == 0); BASE 239 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2/", BASE "dir") == 0); BASE 244 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir2", 0700) == 0); BASE 252 maint/gnulib/tests/test-rename.h ASSERT (close (creat (BASE "dir/file", 0600)) == 0); BASE 261 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2", BASE "dir") == -1); BASE 266 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2/", BASE "dir") == -1); BASE 271 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2", BASE "dir/") == -1); BASE 276 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "dir2") == 0); BASE 277 maint/gnulib/tests/test-rename.h assert_nonexistent (BASE "dir"); BASE 278 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2/file", &st) == 0); BASE 284 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 292 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2/", BASE "dir") == 0); BASE 293 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir/file", &st) == 0); BASE 295 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2", &st) == -1); BASE 303 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir2", 0700) == 0); BASE 311 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "dir2/") == 0); BASE 312 maint/gnulib/tests/test-rename.h assert_nonexistent (BASE "dir"); BASE 313 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir2/file", &st) == 0); BASE 320 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "dir2/file") == 0); BASE 329 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2", BASE "dir/.") == -1); BASE 332 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 340 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2", BASE "dir/.") == -1); BASE 347 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2/.", BASE "dir") == -1); BASE 351 maint/gnulib/tests/test-rename.h ASSERT (rmdir (BASE "dir") == 0); BASE 358 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2", BASE "dir/.//") == -1); BASE 361 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 369 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2", BASE "dir/.//") == -1); BASE 376 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir2/.//", BASE "dir") == -1); BASE 380 maint/gnulib/tests/test-rename.h ASSERT (rmdir (BASE "dir2") == 0); BASE 389 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "dir/sub") == -1); BASE 394 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir/sub", &st) == -1); BASE 397 maint/gnulib/tests/test-rename.h ASSERT (mkdir (BASE "dir/sub", 0700) == 0); BASE 405 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "dir/sub") == -1); BASE 407 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir/sub", &st) == 0); BASE 409 maint/gnulib/tests/test-rename.h ASSERT (rmdir (BASE "dir/sub") == 0); BASE 423 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file", BASE "dir") == -1); BASE 428 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file", BASE "dir/") == -1); BASE 435 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "file") == -1); BASE 440 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir/", BASE "file") == -1); BASE 449 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file", BASE "file") == 0); BASE 451 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == 0); BASE 459 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "dir") == 0); BASE 460 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "dir", &st) == 0); BASE 466 maint/gnulib/tests/test-rename.h ASSERT (close (creat (BASE "dir/file", 0600)) == 0); BASE 473 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "dir") == 0); BASE 475 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "dir/file") == 0); BASE 487 maint/gnulib/tests/test-rename.h int ret = link (BASE "file", BASE "file2"); BASE 491 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == 0); BASE 494 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "file2") == 0); BASE 511 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "file") == 0); BASE 512 maint/gnulib/tests/test-rename.h ASSERT (rmdir (BASE "dir") == 0); BASE 527 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file", BASE "file2") == 0); BASE 529 maint/gnulib/tests/test-rename.h if (stat (BASE "file", &st) != 0) BASE 533 maint/gnulib/tests/test-rename.h ASSERT (link (BASE "file2", BASE "file") == 0); BASE 534 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == 0); BASE 538 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == 0); BASE 546 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "file2") == 0); BASE 554 maint/gnulib/tests/test-rename.h if (symlink (BASE "file", BASE "link1")) BASE 559 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "file") == 0); BASE 560 maint/gnulib/tests/test-rename.h ASSERT (rmdir (BASE "dir") == 0); BASE 569 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link1", BASE "link2") == 0); BASE 570 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file", &st) == 0); BASE 572 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link1", &st) == -1); BASE 575 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); BASE 584 maint/gnulib/tests/test-rename.h ASSERT (symlink (BASE "nowhere", BASE "link1") == 0); BASE 592 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link2", BASE "link1") == 0); BASE 594 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "link1", &st) == 0); BASE 597 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == -1); BASE 607 maint/gnulib/tests/test-rename.h ASSERT (symlink (BASE "link2", BASE "link2") == 0); BASE 615 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link2", BASE "link2") == 0); BASE 619 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link2/", BASE "link2") == -1); BASE 622 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link2", BASE "link3") == 0); BASE 629 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "link3") == 0); BASE 637 maint/gnulib/tests/test-rename.h ASSERT (symlink (BASE "nowhere", BASE "link2") == 0); BASE 645 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link2", BASE "link3") == 0); BASE 647 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == -1); BASE 650 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link3", &st) == 0); BASE 662 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link3/", BASE "link2") == -1); BASE 667 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link3", BASE "link2/") == -1); BASE 672 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == -1); BASE 676 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link3", &st) == 0); BASE 687 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link1/", BASE "link2") == -1); BASE 692 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link1", BASE "link3/") == -1); BASE 706 maint/gnulib/tests/test-rename.h ASSERT (close (creat (BASE "file2", 0600)) == 0); BASE 715 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file2", BASE "link3") == 0); BASE 717 maint/gnulib/tests/test-rename.h ASSERT (stat (BASE "file2", &st) == -1); BASE 720 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link3", &st) == 0); BASE 729 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "link3") == 0); BASE 737 maint/gnulib/tests/test-rename.h ASSERT (symlink (BASE "nowhere", BASE "link2") == 0); BASE 744 maint/gnulib/tests/test-rename.h ASSERT (close (creat (BASE "file2", 0600)) == 0); BASE 753 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link2", BASE "file2") == 0); BASE 755 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == -1); BASE 758 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "file2", &st) == 0); BASE 767 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "file2") == 0); BASE 777 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file/", BASE "link1") == -1); BASE 782 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "file", BASE "link1/") == -1); BASE 787 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link1/", BASE "file") == -1); BASE 792 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link1", BASE "file/") == -1); BASE 795 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "file", &st) == 0); BASE 798 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link1", &st) == 0); BASE 813 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "link1") == -1); BASE 818 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir/", BASE "link1") == -1); BASE 823 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "dir", BASE "link1/") == -1); BASE 830 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link1", BASE "dir") == -1); BASE 835 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link1", BASE "dir/") == -1); BASE 840 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link1/", BASE "dir") == -1); BASE 843 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link1", &st) == 0); BASE 846 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == 0); BASE 865 maint/gnulib/tests/test-rename.h ASSERT (symlink (BASE "dir2", BASE "link2") == 0); BASE 873 maint/gnulib/tests/test-rename.h result = func (BASE "dir", BASE "link2/"); BASE 878 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == -1); BASE 881 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir2", &st) == 0); BASE 884 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); BASE 893 maint/gnulib/tests/test-rename.h ASSERT (func (BASE "link2/", BASE "dir") == 0); BASE 895 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == 0); BASE 898 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir2", &st) == -1); BASE 901 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); BASE 911 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == 0); BASE 914 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir2", &st) == -1); BASE 917 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); BASE 919 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "link2") == 0); BASE 920 maint/gnulib/tests/test-rename.h ASSERT (symlink (BASE "dir", BASE "link2") == 0); BASE 928 maint/gnulib/tests/test-rename.h result = func (BASE "link2/", BASE "dir"); BASE 935 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir", &st) == 0); BASE 938 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "dir2", &st) == -1); BASE 941 maint/gnulib/tests/test-rename.h ASSERT (lstat (BASE "link2", &st) == 0); BASE 953 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "file") == 0); BASE 954 maint/gnulib/tests/test-rename.h ASSERT (rmdir (BASE "dir") == 0); BASE 955 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "link1") == 0); BASE 956 maint/gnulib/tests/test-rename.h ASSERT (unlink (BASE "link2") == 0); BASE 62 maint/gnulib/tests/test-renameat.c ignore_value (system ("rm -rf " BASE "*")); BASE 76 maint/gnulib/tests/test-renameat.c ASSERT (close (creat (BASE "oo", 0600)) == 0); BASE 79 maint/gnulib/tests/test-renameat.c ASSERT (renameat (AT_FDCWD, BASE "oo", -1, "bar") == -1); BASE 84 maint/gnulib/tests/test-renameat.c ASSERT (renameat (AT_FDCWD, BASE "oo", 99, "bar") == -1); BASE 87 maint/gnulib/tests/test-renameat.c ASSERT (unlink (BASE "oo") == 0); BASE 101 maint/gnulib/tests/test-renameat.c ASSERT (mkdir (BASE "sub1", 0700) == 0); BASE 102 maint/gnulib/tests/test-renameat.c ASSERT (mkdir (BASE "sub2", 0700) == 0); BASE 103 maint/gnulib/tests/test-renameat.c dfd = creat (BASE "00", 0600); BASE 109 maint/gnulib/tests/test-renameat.c dfd = open (BASE "sub1", O_RDONLY); BASE 111 maint/gnulib/tests/test-renameat.c ASSERT (chdir (BASE "sub2") == 0); BASE 127 maint/gnulib/tests/test-renameat.c char *file1 = file_name_concat ((i & 4) ? ".." : cwd, BASE "xx", NULL); BASE 129 maint/gnulib/tests/test-renameat.c char *file2 = file_name_concat ((i & 1) ? ".." : cwd, BASE "xx", NULL); BASE 139 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, "../" BASE "16", dfd2, BASE "17") == 0); BASE 150 maint/gnulib/tests/test-renameat.c ASSERT (close (creat (BASE "sub2/file", 0600)) == 0); BASE 152 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "sub1", dfd, BASE "sub2") == -1); BASE 154 maint/gnulib/tests/test-renameat.c ASSERT (unlink (BASE "sub2/file") == 0); BASE 156 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "sub2", dfd, BASE "sub1/.") == -1); BASE 161 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "sub2/.", dfd, BASE "sub1") == -1); BASE 165 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "17", dfd, BASE "sub1") == -1); BASE 168 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "nosuch", dfd, BASE "18") == -1); BASE 171 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, "", dfd, BASE "17") == -1); BASE 174 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "17", dfd, "") == -1); BASE 177 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "sub2", dfd, BASE "17") == -1); BASE 180 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "17/", dfd, BASE "18") == -1); BASE 183 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "17", dfd, BASE "18/") == -1); BASE 187 maint/gnulib/tests/test-renameat.c ASSERT (close (creat (BASE "sub2/file", 0600)) == 0); BASE 189 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "sub2", dfd, BASE "sub1") == 0); BASE 190 maint/gnulib/tests/test-renameat.c ASSERT (renameat (dfd, BASE "sub1/file", dfd, BASE "17") == 0); BASE 195 maint/gnulib/tests/test-renameat.c ASSERT (unlink (BASE "sub1/file") == -1); BASE 197 maint/gnulib/tests/test-renameat.c ASSERT (unlink (BASE "17") == 0); BASE 198 maint/gnulib/tests/test-renameat.c ASSERT (rmdir (BASE "sub1") == 0); BASE 200 maint/gnulib/tests/test-renameat.c ASSERT (rmdir (BASE "sub2") == -1); BASE 65 maint/gnulib/tests/test-renameatu.c ignore_value (system ("rm -rf " BASE "*")); BASE 79 maint/gnulib/tests/test-renameatu.c ASSERT (close (creat (BASE "oo", 0600)) == 0); BASE 82 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (AT_FDCWD, BASE "oo", -1, "bar", 0) == -1); BASE 87 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (AT_FDCWD, BASE "oo", 99, "bar", 0) == -1); BASE 90 maint/gnulib/tests/test-renameatu.c ASSERT (unlink (BASE "oo") == 0); BASE 104 maint/gnulib/tests/test-renameatu.c ASSERT (mkdir (BASE "sub1", 0700) == 0); BASE 105 maint/gnulib/tests/test-renameatu.c ASSERT (mkdir (BASE "sub2", 0700) == 0); BASE 106 maint/gnulib/tests/test-renameatu.c dfd = creat (BASE "00", 0600); BASE 112 maint/gnulib/tests/test-renameatu.c dfd = open (BASE "sub1", O_RDONLY); BASE 114 maint/gnulib/tests/test-renameatu.c ASSERT (chdir (BASE "sub2") == 0); BASE 130 maint/gnulib/tests/test-renameatu.c char *file1 = file_name_concat ((i & 4) ? ".." : cwd, BASE "xx", NULL); BASE 132 maint/gnulib/tests/test-renameatu.c char *file2 = file_name_concat ((i & 1) ? ".." : cwd, BASE "xx", NULL); BASE 142 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, "../" BASE "16", dfd2, BASE "17", 0) == 0); BASE 153 maint/gnulib/tests/test-renameatu.c ASSERT (close (creat (BASE "sub2/file", 0600)) == 0); BASE 155 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, BASE "sub1", dfd, BASE "sub2", 0) == -1); BASE 157 maint/gnulib/tests/test-renameatu.c ASSERT (unlink (BASE "sub2/file") == 0); BASE 159 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, BASE "sub2", dfd, BASE "sub1/.", 0) == -1); BASE 164 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, BASE "sub2/.", dfd, BASE "sub1", 0) == -1); BASE 168 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, BASE "17", dfd, BASE "sub1", 0) == -1); BASE 171 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, BASE "nosuch", dfd, BASE "18", 0) == -1); BASE 174 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, "", dfd, BASE "17", 0) == -1); BASE 177 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, BASE "17", dfd, "", 0) == -1); BASE 180 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, BASE "sub2", dfd, BASE "17", 0) == -1); BASE 183 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, BASE "17/", dfd, BASE "18", 0) == -1); BASE 186 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (dfd, BASE "17", dfd, BASE "18/", 0) == -1); BASE 190 maint/gnulib/tests/test-renameatu.c ASSERT (close (creat (BASE "sub2/file", 0600)) == 0); BASE 192 maint/gnulib/tests/test-renameatu.c ASSERT ((renameatu (dfd, BASE "sub2/file", dfd, BASE "sub2/file", BASE 197 maint/gnulib/tests/test-renameatu.c ASSERT ((renameatu (dfd, BASE "sub2", dfd, BASE "sub2", RENAME_NOREPLACE) BASE 201 maint/gnulib/tests/test-renameatu.c ASSERT ((renameatu (dfd, BASE "sub2", dfd, BASE "sub1", RENAME_NOREPLACE) BASE 205 maint/gnulib/tests/test-renameatu.c ASSERT ((renameatu (dfd, BASE "sub2/file", dfd, BASE "17", RENAME_NOREPLACE) BASE 211 maint/gnulib/tests/test-renameatu.c ASSERT (unlink (BASE "sub2/file") == 0); BASE 212 maint/gnulib/tests/test-renameatu.c ASSERT (unlink (BASE "17") == 0); BASE 213 maint/gnulib/tests/test-renameatu.c ASSERT (rmdir (BASE "sub1") == 0); BASE 214 maint/gnulib/tests/test-renameatu.c ASSERT (rmdir (BASE "sub2") == 0); BASE 44 maint/gnulib/tests/test-rmdir.c ignore_value (system ("rm -rf " BASE "*")); BASE 29 maint/gnulib/tests/test-rmdir.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 30 maint/gnulib/tests/test-rmdir.h ASSERT (close (creat (BASE "dir/file", 0600)) == 0); BASE 37 maint/gnulib/tests/test-rmdir.h ASSERT (func (BASE "nosuch") == -1); BASE 40 maint/gnulib/tests/test-rmdir.h ASSERT (func (BASE "nosuch/") == -1); BASE 52 maint/gnulib/tests/test-rmdir.h ASSERT (func (BASE "dir/file/") == -1); BASE 57 maint/gnulib/tests/test-rmdir.h ASSERT (func (BASE "dir") == -1); BASE 62 maint/gnulib/tests/test-rmdir.h ASSERT (func (BASE "dir/file") == -1); BASE 66 maint/gnulib/tests/test-rmdir.h ASSERT (unlink (BASE "dir/file") == 0); BASE 68 maint/gnulib/tests/test-rmdir.h ASSERT (func (BASE "dir/.//") == -1); BASE 71 maint/gnulib/tests/test-rmdir.h ASSERT (func (BASE "dir") == 0); BASE 78 maint/gnulib/tests/test-rmdir.h if (symlink (BASE "dir", BASE "link") != 0) BASE 85 maint/gnulib/tests/test-rmdir.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 87 maint/gnulib/tests/test-rmdir.h if (func (BASE "link/") == 0) BASE 91 maint/gnulib/tests/test-rmdir.h ASSERT (stat (BASE "link", &st) == -1); BASE 97 maint/gnulib/tests/test-rmdir.h ASSERT (func (BASE "dir") == 0); BASE 99 maint/gnulib/tests/test-rmdir.h ASSERT (unlink (BASE "link") == 0); BASE 58 maint/gnulib/tests/test-stat.h ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 59 maint/gnulib/tests/test-stat.h ASSERT (func (BASE "file", &st1) == 0); BASE 61 maint/gnulib/tests/test-stat.h ASSERT (func (BASE "file/", &st1) == -1); BASE 71 maint/gnulib/tests/test-stat.h if (symlink (".", BASE "link1") != 0) BASE 73 maint/gnulib/tests/test-stat.h ASSERT (unlink (BASE "file") == 0); BASE 79 maint/gnulib/tests/test-stat.h ASSERT (symlink (BASE "file", BASE "link2") == 0); BASE 80 maint/gnulib/tests/test-stat.h ASSERT (symlink (BASE "nosuch", BASE "link3") == 0); BASE 81 maint/gnulib/tests/test-stat.h ASSERT (symlink (BASE "link4", BASE "link4") == 0); BASE 83 maint/gnulib/tests/test-stat.h ASSERT (func (BASE "link1/", &st1) == 0); BASE 87 maint/gnulib/tests/test-stat.h ASSERT (func (BASE "link2/", &st1) == -1); BASE 91 maint/gnulib/tests/test-stat.h ASSERT (func (BASE "link3/", &st1) == -1); BASE 95 maint/gnulib/tests/test-stat.h ASSERT (func (BASE "link4/", &st1) == -1); BASE 99 maint/gnulib/tests/test-stat.h ASSERT (unlink (BASE "file") == 0); BASE 100 maint/gnulib/tests/test-stat.h ASSERT (unlink (BASE "link1") == 0); BASE 101 maint/gnulib/tests/test-stat.h ASSERT (unlink (BASE "link2") == 0); BASE 102 maint/gnulib/tests/test-stat.h ASSERT (unlink (BASE "link3") == 0); BASE 103 maint/gnulib/tests/test-stat.h ASSERT (unlink (BASE "link4") == 0); BASE 44 maint/gnulib/tests/test-symlink.c ignore_value (system ("rm -rf " BASE "*")); BASE 28 maint/gnulib/tests/test-symlink.h if (func ("nowhere", BASE "link1")) BASE 41 maint/gnulib/tests/test-symlink.h status = func ("", BASE "link2"); BASE 47 maint/gnulib/tests/test-symlink.h ASSERT (unlink (BASE "link2") == 0); BASE 59 maint/gnulib/tests/test-symlink.h ASSERT (func ("somewhere", BASE "link1") == -1); BASE 62 maint/gnulib/tests/test-symlink.h ASSERT (func ("nowhere", BASE "link2/") == -1); BASE 64 maint/gnulib/tests/test-symlink.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 66 maint/gnulib/tests/test-symlink.h ASSERT (func ("nowhere", BASE "dir") == -1); BASE 69 maint/gnulib/tests/test-symlink.h ASSERT (func ("nowhere", BASE "dir/") == -1); BASE 72 maint/gnulib/tests/test-symlink.h ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 74 maint/gnulib/tests/test-symlink.h ASSERT (func ("nowhere", BASE "file") == -1); BASE 77 maint/gnulib/tests/test-symlink.h ASSERT (func ("nowhere", BASE "file/") == -1); BASE 81 maint/gnulib/tests/test-symlink.h ASSERT (unlink (BASE "link1") == 0); BASE 82 maint/gnulib/tests/test-symlink.h ASSERT (func (BASE "link2", BASE "link1") == 0); BASE 84 maint/gnulib/tests/test-symlink.h ASSERT (func (BASE "nowhere", BASE "link1/") == -1); BASE 87 maint/gnulib/tests/test-symlink.h ASSERT (unlink (BASE "link2") == -1); BASE 91 maint/gnulib/tests/test-symlink.h ASSERT (rmdir (BASE "dir") == 0); BASE 92 maint/gnulib/tests/test-symlink.h ASSERT (unlink (BASE "file") == 0); BASE 93 maint/gnulib/tests/test-symlink.h ASSERT (unlink (BASE "link1") == 0); BASE 59 maint/gnulib/tests/test-symlinkat.c ignore_value (system ("rm -rf " BASE "*")); BASE 36 maint/gnulib/tests/test-truncate.c ignore_value (system ("rm -rf " BASE "*")); BASE 39 maint/gnulib/tests/test-truncate.c int fd = open (BASE "file", O_RDWR | O_TRUNC | O_CREAT, 0600); BASE 46 maint/gnulib/tests/test-truncate.c int fd = open (BASE "file", O_RDONLY); BASE 53 maint/gnulib/tests/test-truncate.c ASSERT (truncate (BASE "file", 314159) == 0); BASE 55 maint/gnulib/tests/test-truncate.c int fd = open (BASE "file", O_RDONLY); BASE 62 maint/gnulib/tests/test-truncate.c ASSERT (truncate (BASE "file", 3) == 0); BASE 64 maint/gnulib/tests/test-truncate.c int fd = open (BASE "file", O_RDONLY); BASE 71 maint/gnulib/tests/test-truncate.c ASSERT (truncate (BASE "file", 0) == 0); BASE 73 maint/gnulib/tests/test-truncate.c int fd = open (BASE "file", O_RDONLY); BASE 95 maint/gnulib/tests/test-truncate.c ASSERT (truncate (BASE "file/", 0) == -1); BASE 102 maint/gnulib/tests/test-truncate.c ASSERT (truncate (BASE "file", -3) == -1); BASE 107 maint/gnulib/tests/test-truncate.c ASSERT (unlink (BASE "file") == 0); BASE 46 maint/gnulib/tests/test-unlink.c ignore_value (system ("rm -rf " BASE "*")); BASE 29 maint/gnulib/tests/test-unlink.h ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 30 maint/gnulib/tests/test-unlink.h ASSERT (close (creat (BASE "dir/file", 0600)) == 0); BASE 37 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "nosuch") == -1); BASE 40 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "nosuch/") == -1); BASE 51 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "dir") == -1); BASE 52 maint/gnulib/tests/test-unlink.h ASSERT (mkdir (BASE "dir1", 0700) == 0); BASE 53 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "dir1") == -1); BASE 54 maint/gnulib/tests/test-unlink.h ASSERT (rmdir (BASE "dir1") == 0); BASE 57 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "dir/file/") == -1); BASE 63 maint/gnulib/tests/test-unlink.h if (symlink (BASE "dir", BASE "link") != 0) BASE 65 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "dir/file") == 0); BASE 66 maint/gnulib/tests/test-unlink.h ASSERT (rmdir (BASE "dir") == 0); BASE 73 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "link/") == -1); BASE 74 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "link") == 0); BASE 75 maint/gnulib/tests/test-unlink.h ASSERT (symlink (BASE "dir/file", BASE "link") == 0); BASE 77 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "link/") == -1); BASE 81 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "link") == 0); BASE 82 maint/gnulib/tests/test-unlink.h ASSERT (func (BASE "dir/file") == 0); BASE 83 maint/gnulib/tests/test-unlink.h ASSERT (rmdir (BASE "dir") == 0); BASE 66 maint/gnulib/tests/test-unlinkat.c ignore_value (system ("rm -rf " BASE "*")); BASE 39 maint/gnulib/tests/test-utime.c ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 40 maint/gnulib/tests/test-utime.c ASSERT (stat (BASE "file", &st1) == 0); BASE 42 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "file", NULL) == 0); BASE 43 maint/gnulib/tests/test-utime.c ASSERT (stat (BASE "file", &st2) == 0); BASE 44 maint/gnulib/tests/test-utime.c ASSERT (0 <= utimecmp (BASE "file", &st2, &st1, UTIMECMP_TRUNCATE_SOURCE)); BASE 57 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "file", &ts) == 0); BASE 58 maint/gnulib/tests/test-utime.c ASSERT (stat (BASE "file", &st1) == 0); BASE 76 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "file/", &ts) == -1); BASE 79 maint/gnulib/tests/test-utime.c ASSERT (stat (BASE "file", &st2) == 0); BASE 82 maint/gnulib/tests/test-utime.c ASSERT (utimecmp (BASE "file", &st1, &st2, 0) == 0); BASE 88 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "file", &ts) == 0); BASE 89 maint/gnulib/tests/test-utime.c ASSERT (stat (BASE "file", &st2) == 0); BASE 101 maint/gnulib/tests/test-utime.c if (symlink (BASE "file", BASE "link")) BASE 103 maint/gnulib/tests/test-utime.c ASSERT (unlink (BASE "file") == 0); BASE 109 maint/gnulib/tests/test-utime.c ASSERT (lstat (BASE "link", &st1) == 0); BASE 112 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "link/", NULL) == -1); BASE 117 maint/gnulib/tests/test-utime.c ASSERT (utime (BASE "link", &ts) == 0); BASE 118 maint/gnulib/tests/test-utime.c ASSERT (lstat (BASE "link", &st2) == 0); BASE 121 maint/gnulib/tests/test-utime.c ASSERT (stat (BASE "link", &st2) == 0); BASE 127 maint/gnulib/tests/test-utime.c ASSERT (unlink (BASE "link") == 0); BASE 128 maint/gnulib/tests/test-utime.c ASSERT (unlink (BASE "file") == 0); BASE 138 maint/gnulib/tests/test-utime.c ignore_value (system ("rm -rf " BASE "*")); BASE 70 maint/gnulib/tests/test-utimens.c ignore_value (system ("rm -rf " BASE "*")); BASE 29 maint/gnulib/tests/test-utimens.h ASSERT (close (creat (BASE "file", 0600)) == 0); BASE 35 maint/gnulib/tests/test-utimens.h ASSERT (stat (BASE "file", &st1) == 0); BASE 37 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", NULL) == 0); BASE 38 maint/gnulib/tests/test-utimens.h ASSERT (stat (BASE "file", &st2) == 0); BASE 39 maint/gnulib/tests/test-utimens.h ASSERT (0 <= utimecmp (BASE "file", &st2, &st1, UTIMECMP_TRUNCATE_SOURCE)); BASE 53 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == 0); BASE 54 maint/gnulib/tests/test-utimens.h ASSERT (stat (BASE "file", &st1) == 0); BASE 75 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == -1); BASE 85 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == -1); BASE 94 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file/", ts) == -1); BASE 97 maint/gnulib/tests/test-utimens.h ASSERT (stat (BASE "file", &st2) == 0); BASE 100 maint/gnulib/tests/test-utimens.h ASSERT (utimecmp (BASE "file", &st1, &st2, 0) == 0); BASE 109 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == 0); BASE 110 maint/gnulib/tests/test-utimens.h ASSERT (stat (BASE "file", &st2) == 0); BASE 130 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == 0); BASE 131 maint/gnulib/tests/test-utimens.h ASSERT (stat (BASE "file", &st3) == 0); BASE 136 maint/gnulib/tests/test-utimens.h ASSERT (0 <= utimecmp (BASE "file", &st3, &st1, UTIMECMP_TRUNCATE_SOURCE)); BASE 142 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "file", ts) == 0); BASE 143 maint/gnulib/tests/test-utimens.h ASSERT (stat (BASE "file", &st2) == 0); BASE 153 maint/gnulib/tests/test-utimens.h if (symlink (BASE "file", BASE "link")) BASE 155 maint/gnulib/tests/test-utimens.h ASSERT (unlink (BASE "file") == 0); BASE 161 maint/gnulib/tests/test-utimens.h ASSERT (lstat (BASE "link", &st1) == 0); BASE 164 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "link/", NULL) == -1); BASE 171 maint/gnulib/tests/test-utimens.h ASSERT (func (BASE "link", ts) == 0); BASE 172 maint/gnulib/tests/test-utimens.h ASSERT (lstat (BASE "link", &st2) == 0); BASE 175 maint/gnulib/tests/test-utimens.h ASSERT (stat (BASE "link", &st2) == 0); BASE 181 maint/gnulib/tests/test-utimens.h ASSERT (unlink (BASE "link") == 0); BASE 182 maint/gnulib/tests/test-utimens.h ASSERT (unlink (BASE "file") == 0); BASE 70 maint/gnulib/tests/test-utimensat.c ignore_value (system ("rm -rf " BASE "*")); BASE 96 maint/gnulib/tests/test-utimensat.c ASSERT (mkdir (BASE "dir", 0700) == 0); BASE 97 maint/gnulib/tests/test-utimensat.c ASSERT (chdir (BASE "dir") == 0); BASE 110 maint/gnulib/tests/test-utimensat.c ASSERT (utimensat (dfd, BASE "dir/file", ts, AT_SYMLINK_NOFOLLOW) == 0); BASE 125 maint/gnulib/tests/test-utimensat.c ASSERT (unlink (BASE "dir/file") == 0); BASE 126 maint/gnulib/tests/test-utimensat.c ASSERT (rmdir (BASE "dir") == 0);