Home | History | Annotate | Download | only in symlink

Lines Matching refs:LSTAT

54  *	TEST IDENTIFIER	: lstat01 (lstat)
152 * For lstat
215 #include <sys/stat.h> /* stat(2) and lstat(2) system calls */
258 #define LSTAT "lstat01"
287 "lstat(2) of symbolic link file which points to no object file is ok",
288 "lstat(2) of symbolic link file which points at an object file is ok",
309 "lstat(2) of object file returns object file inode information",
371 LSTAT, 0, 0, 8, creat_symlink, ck_symlink, {
373 LSTAT, 0, 0, 9, creat_both, ck_both, {
375 LSTAT, 0, 0, 30, creat_object, ck_object, {
465 LSTAT, "lstat", 3, &test_objects[15],
624 if (lstat(path, &asymlink) < 0)
739 "lstat(2) Failure when accessing %s symbolic link file which should contain %s path to %s file ",
851 * This routine checks if the stat(2) and lstat(2) calls return the same
866 "lstat(2) failed to return inode information for a regular object file");
871 "lstat(2) detected a regular object file as a symbolic link file");
882 "lstat(2) and stat(2) do not return same inode information for an object file");
976 (cktcsid(tc_ptr->tcid, LSTAT)) ||
1547 if (lstat(tc_ptr->fn_arg[1], &asymlink) == -1) {
1548 tst_resm(TBROK, "lstat(%s) failed. errno: %d",
1551 } else if (lstat("nick", &statter) == -1) {
1552 tst_resm(TBROK, "lstat(nick) failed, errno:%d",
1560 lstat(tc_ptr->fn_arg[2],
1570 tst_resm(TFAIL, "%sA lstat of %s (ino:%jd) and of\n\t\t\