Lines Matching refs:stat
48 * TEST IDENTIFIER : stat04 (stat)
147 * For stat
215 #include <sys/stat.h> /* stat(2) and lstat(2) system calls */
285 "Getting stat info about object file through symbolic link file is ok",
461 STAT, "stat", 3, &test_objects[9],
504 struct stat asymlink, statter;
765 else if ((stat(path3, &statter) == -1) && (errno == ENOENT)) {
768 "stat(2) Failure when accessing %s object file ",
771 } else if ((stat(path2, &asymlink) == -1) && (errno == ENOENT)) {
774 "stat(2) Failure when accessing %s symbolic link file ",
780 "stat(2) Failure when accessing %s object file through %s symbolic link file ",
851 * This routine checks if the stat(2) and lstat(2) calls return the same
873 } else if (stat(path1, &statter) == -1) {
876 "stat(2) failed to return inode information for a regular object file");
882 "lstat(2) and stat(2) do not return same inode information for an object file");
1077 if ((stat(tc_ptr->fn_arg[1], &asymlink) == -1)
1156 TEST(stat(tc_ptr->fn_arg[1], &asymlink));
1162 "Expected ELOOP errno from stat(2) (nested symb link),",
1412 * This routine checks out the stat(2) system call for a successful
1422 "stat of symbolic link reference to object device info %jd != stat of object file device info %jd",
1427 "stat of symbolic link reference to object file permissions %jd != stat of object file permissions %jd",
1433 "stat of symbolic link reference to object file link count %jd != stat of object file link count %jd",
1439 "stat of symbolic link reference to object file uid %jd != stat of object file uid %jd",
1444 "stat of symbolic link reference to object file gid %jd != stat of object file gid %jd",
1449 "stat of symbolic link reference to object file size %ld != stat of object file size %ld",
1454 "stat of symbolic link reference to object access time %ld != stat of object file access time %ld",
1459 "stat of symbolic link reference to object modify time %ld != stat of object file modify time %ld",
1464 "stat of symbolic link reference to object change time %ld != stat of object file change time %ld",
1532 struct stat stbuf;
1589 if (stat(tc_ptr->fn_arg[2], &asymlink) == -1)
1590 tst_resm(TBROK, "stat(2) Failure when accessing %s object file",
1598 if (stat(tc_ptr->fn_arg[2], &statter) == -1) {
1627 if (stat(tc_ptr->fn_arg[2], &asymlink) == -1)
1628 tst_resm(TBROK, "stat(2) Failure when accessing %s object file",
1639 if (stat(tc_ptr->fn_arg[2], &statter) == -1) {
1641 "stat(2) Failure when accessing %s object file",
1667 if (stat(tc_ptr->fn_arg[2], &asymlink) == -1)
1668 tst_resm(TBROK, "stat(2) Failure when accessing %s object file",
1685 if (stat(tc_ptr->fn_arg[2], &statter) == -1)
1687 "stat(2) Failure when accessing %s object file",
1723 if (stat(tc_ptr->fn_arg[2], &statter) != -1)
1740 } else if (stat(tc_ptr->fn_arg[1], &asymlink) != -1) {
1762 if (stat(tc_ptr->fn_arg[2], &statter) != -1)