| /openbsd-src/regress/sys/ffs/tests/rename/ |
| H A D | 10.t | 25 inode=`${FSTEST} lstat ${n0}/${n2} inode` 28 expect ENOENT lstat ${n0}/${n2} inode 29 expect ${inode} lstat ${n1}/${n3} inode 32 expect ${inode} lstat ${n0}/${n2} inode 33 expect ENOENT lstat ${n1}/${n3} inode 36 expect ENOENT lstat ${n0}/${n2} inode 37 expect ${inode} lstat ${n1}/${n3} inode 42 inode=`${FSTEST} lstat ${n0}/${n2} inode` 45 expect ENOENT lstat ${n0}/${n2} type 46 expect ${inode} lstat ${n1}/${n3} inode [all …]
|
| H A D | 00.t | 16 expect regular,0644,1 lstat ${n0} type,mode,nlink 17 inode=`${FSTEST} lstat ${n0} inode` 19 expect ENOENT lstat ${n0} type,mode,nlink 20 expect regular,${inode},0644,1 lstat ${n1} type,inode,mode,nlink 22 expect regular,${inode},0644,2 lstat ${n0} type,inode,mode,nlink 23 expect regular,${inode},0644,2 lstat ${n1} type,inode,mode,nlink 25 expect regular,${inode},0644,2 lstat ${n0} type,inode,mode,nlink 26 expect ENOENT lstat ${n1} type,mode,nlink 27 expect regular,${inode},0644,2 lstat ${n2} type,inode,mode,nlink 32 expect dir,0755 lstat ${n0} type,mode [all …]
|
| H A D | 13.t | 13 expect dir lstat ${n0} type 14 expect regular lstat ${n1} type 19 expect dir lstat ${n0} type 20 expect fifo lstat ${n1} type 25 expect dir lstat ${n0} type 26 expect symlink lstat ${n1} type
|
| H A D | 14.t | 13 expect dir lstat ${n0} type 14 expect regular lstat ${n1} type 19 expect dir lstat ${n0} type 20 expect fifo lstat ${n1} type 25 expect dir lstat ${n0} type 26 expect symlink lstat ${n1} type
|
| /openbsd-src/regress/sys/ffs/tests/link/ |
| H A D | 00.t | 16 expect regular,0644,1 lstat ${n0} type,mode,nlink 19 expect regular,0644,2 lstat ${n0} type,mode,nlink 20 expect regular,0644,2 lstat ${n1} type,mode,nlink 23 expect regular,0644,3 lstat ${n0} type,mode,nlink 24 expect regular,0644,3 lstat ${n1} type,mode,nlink 25 expect regular,0644,3 lstat ${n2} type,mode,nlink 30 expect regular,0201,3,65534,65533 lstat ${n0} type,mode,nlink,uid,gid 31 expect regular,0201,3,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 32 expect regular,0201,3,65534,65533 lstat ${n2} type,mode,nlink,uid,gid 35 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid [all …]
|
| /openbsd-src/regress/sys/ffs/tests/chown/ |
| H A D | 00.t | 18 expect 123,456 lstat ${n0} uid,gid 20 expect 0,0 lstat ${n0} uid,gid 25 expect 123,456 lstat ${n0} uid,gid 27 expect 0,0 lstat ${n0} uid,gid 32 expect 123,456 lstat ${n0} uid,gid 34 expect 0,0 lstat ${n0} uid,gid 43 expect 135,579 lstat ${n1} uid,gid 54 expect 65534,65533 lstat ${n0} uid,gid 56 expect 65534,65532 lstat ${n0} uid,gid 58 expect 65534,65531 lstat ${n0} uid,gid [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Time-HiRes/t/ |
| H A D | stat.t | 33 ($a, my $lstat, $b) = ("a", [Time::HiRes::lstat($$)], "b"); 34 is $a, "a", "lstat stack discipline"; 35 is $b, "b", "lstat stack discipline"; 42 $lstat->[8] = $stat->[8]; 44 is_deeply $lstat, $stat, "write: stat and lstat returned same values"; 51 $lstat = [Time::HiRes::lstat($$)]; 52 is_deeply $lstat, $stat, "read: stat and lstat returned same values"; 96 note "compare Time::HiRes::stat with ::lstat"; 98 my @tgt_lstat = Time::HiRes::lstat($targetname); 100 my @lnk_lstat = Time::HiRes::lstat($linkname); [all …]
|
| /openbsd-src/regress/sys/ffs/tests/mkdir/ |
| H A D | 00.t | 17 expect dir,0755 lstat ${n0} type,mode 20 expect dir,0151 lstat ${n0} type,mode 23 expect dir,0100 lstat ${n0} type,mode 26 expect dir,0305 lstat ${n0} type,mode 29 expect dir,0244 lstat ${n0} type,mode 37 expect 65535,65535 lstat ${n0} uid,gid 40 expect "65535,6553[45]" lstat ${n0} uid,gid 44 expect "65534,6553[35]" lstat ${n0} uid,gid
|
| /openbsd-src/regress/sys/ffs/tests/mkfifo/ |
| H A D | 00.t | 17 expect fifo,0755 lstat ${n0} type,mode 20 expect fifo,0151 lstat ${n0} type,mode 23 expect fifo,0100 lstat ${n0} type,mode 26 expect fifo,0305 lstat ${n0} type,mode 29 expect fifo,0244 lstat ${n0} type,mode 37 expect 65535,65535 lstat ${n0} uid,gid 40 expect "65535,6553[45]" lstat ${n0} uid,gid 44 expect "65534,6553[35]" lstat ${n0} uid,gid
|
| /openbsd-src/regress/sys/ffs/tests/open/ |
| H A D | 00.t | 20 expect regular,0755 lstat ${n0} type,mode 23 expect regular,0151 lstat ${n0} type,mode 26 expect regular,0100 lstat ${n0} type,mode 29 expect regular,0305 lstat ${n0} type,mode 32 expect regular,0244 lstat ${n0} type,mode 41 expect 65535,65535 lstat ${n0} uid,gid 44 expect "65535,6553[45]" lstat ${n0} uid,gid 48 expect "65534,6553[35]" lstat ${n0} uid,gid
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | stat.t | 463 eval { lstat _ }; 464 like( $@, qr/^The stat preceding lstat\(\) wasn't an lstat/, 465 'lstat _ croaks after stat' ); 467 like( $@, qr/^The stat preceding lstat\(\) wasn't an lstat/, 469 eval { lstat \*_ }; 470 like( $@, qr/^The stat preceding lstat\(\) wasn't an lstat/, 471 'lstat \*_ croaks after stat' ); 473 like( $@, qr/^The stat preceding -l _ wasn't an lstat/, 476 lstat $0; 477 eval { lstat _ }; [all …]
|
| H A D | stat_errors.t | 21 qw(stat lstat), 31 my @z = lstat "tmpnotexist";
|
| H A D | filetest.t | 101 'stacked -l non-lstat error with warnings off'; 105 like $@, qr/^The stat preceding -l _ wasn't an lstat at /, 123 lstat $ro_empty_file; 329 like $@, qr/^The stat preceding lstat\(\) wasn't an lstat at /,
|
| /openbsd-src/regress/sys/ffs/tests/chflags/ |
| H A D | 00.t | 53 expect none lstat ${n1} flags 56 expect none lstat ${n1} flags 59 expect none lstat ${n1} flags 62 expect none lstat ${n1} flags 65 expect none lstat ${n1} flags 72 expect none lstat ${n1} flags 74 expect UF_NODUMP,UF_IMMUTABLE,UF_APPEND,UF_OPAQUE,SF_ARCHIVED,SF_IMMUTABLE,SF_APPEND lstat ${n1} fl… 77 expect UF_NODUMP,UF_IMMUTABLE,UF_APPEND,UF_OPAQUE lstat ${n1} flags 80 expect SF_ARCHIVED,SF_IMMUTABLE,SF_APPEND lstat ${n1} flags 83 expect none lstat ${n1} flags [all …]
|
| H A D | 11.t | 52 expect none lstat ${n1} flags 54 expect none lstat ${n1} flags 57 expect none lstat ${n1} flags 59 expect none lstat ${n1} flags
|
| /openbsd-src/regress/sys/ffs/tests/truncate/ |
| H A D | 00.t | 15 expect 1234567 lstat ${n0} size 17 expect 567 lstat ${n0} size 22 expect 23456 lstat ${n0} size 24 expect 1 lstat ${n0} size
|
| /openbsd-src/regress/sys/ffs/tests/unlink/ |
| H A D | 00.t | 15 expect regular lstat ${n0} type 17 expect ENOENT lstat ${n0} type 20 expect symlink lstat ${n0} type 22 expect ENOENT lstat ${n0} type 25 expect fifo lstat ${n0} type 27 expect ENOENT lstat ${n0} type
|
| /openbsd-src/bin/ln/ |
| H A D | ln.c | 125 if ((Pflag ? lstat : stat)(target, &sb)) { in linkit() 136 statf = hflag ? lstat : stat; in linkit() 152 exists = (lstat(source, &sb) == 0); in linkit() 162 if ((Pflag ? lstat : stat)(target, &tsb)) { in linkit()
|
| /openbsd-src/gnu/usr.bin/perl/t/win32/ |
| H A D | stat.t | 108 is((lstat($tmpfile1))[7], length(readlink($tmpfile1)), 135 my @st = lstat($tmpfile1); 274 ok(-l $tmpfile2, "symlink to socket is a symlink (via lstat)"); 292 ok(lstat($tmpfile1), "looping symlink chain passes lstat"); 297 ok(lstat($tmpfile1), "broken symlink chain passes lstat");
|
| /openbsd-src/gnu/usr.bin/perl/t/lib/warnings/ |
| H A D | pp_sys | 100 lstat on filehandle %s [pp_lstat] 658 lstat FH; 659 lstat *FH; 660 lstat \*FH; 662 lstat $fh; 663 lstat *FH{IO}; 665 lstat FH; 666 lstat $fh; 670 lstat() on filehandle FH at - line 4. 671 lstat() on filehandle FH at - line 5. [all …]
|
| /openbsd-src/gnu/lib/libiberty/src/ |
| H A D | unlink-if-ordinary.c | 58 #define lstat stat macro 67 if (lstat (name, &st) == 0 in unlink_if_ordinary()
|
| /openbsd-src/regress/sys/ffs/tests/rmdir/ |
| H A D | 00.t | 10 expect dir lstat ${n0} type 12 expect ENOENT lstat ${n0} type
|
| /openbsd-src/bin/pax/ |
| H A D | file_subs.c | 178 if (lstat(arcn->ln_name, &sb) == -1) { in lnk_creat() 247 if (lstat(arcn->name, &sb) == -1) in chk_same() 285 if (lstat(from, &sb) == 0) { in mk_link() 378 while (lstat(nm, &sb) == 0 && in node_creat() 501 if (lstat(nm, &sb) == -1) { in node_creat() 553 if (lstat(name, &sb) == -1) in unlnk_exist() 640 if (lstat(name, &sb) == 0) { in chk_path() 674 (lstat(name, &sb) == 0)) { in chk_path()
|
| /openbsd-src/regress/sys/ffs/tests/symlink/ |
| H A D | 00.t | 10 expect regular,0644 lstat ${n0} type,mode 12 expect symlink lstat ${n1} type
|
| /openbsd-src/regress/lib/libc/sys/ |
| H A D | t_stat.c | 176 ATF_REQUIRE_ERRNO(ENAMETOOLONG, lstat(buf, &st) == -1); in ATF_TC_BODY() 182 ATF_REQUIRE_ERRNO(EFAULT, lstat((void *)-1, &st) == -1); in ATF_TC_BODY() 188 ATF_REQUIRE_ERRNO(EFAULT, lstat("/etc/passwd", (void *)-1) == -1); in ATF_TC_BODY() 194 ATF_REQUIRE_ERRNO(ENOENT, lstat("/a/b/c/d/e/f/g/h/i/j/k", &st) == -1); in ATF_TC_BODY() 386 ATF_REQUIRE(lstat(pathlink, &sb) == 0); in ATF_TC_BODY()
|