Home
last modified time | relevance | path

Searched refs:lstat (Results 1 – 25 of 209) sorted by relevance

123456789

/freebsd/contrib/pjdfstest/tests/rename/
H A D09.t38 expect ENOENT lstat ${n0}/${n2} inode
42 expect ENOENT lstat ${n1}/${n3} inode
56 expect ENOENT lstat ${n0}/${n2} inode
111 expect ENOENT lstat ${n0}/${n2} type
117 expect ENOENT lstat ${n0}/${n2} type
132 expect ENOENT lstat ${n1}/${n3} type
135 expect ENOENT lstat ${n0}/${n2} type
147 expect ENOENT lstat ${n0}/${n2} type
159 expect ENOENT lstat ${n0}/${n2} type
165 expect ENOENT lstat ${n0}/${n2} type
[all …]
H A D00.t24 inode=`${fstest} lstat ${n0} inode`
40 expect dir,0755 lstat ${n0} type,mode
41 inode=`${fstest} lstat ${n0} inode`
43 expect ENOENT lstat ${n0} type,mode
48 rinode=`${fstest} lstat ${n0} inode`
51 sinode=`${fstest} lstat ${n1} inode`
56 expect ENOENT lstat ${n1} type,mode
64 ctime1=`${fstest} lstat ${n0} ctime`
67 ctime2=`${fstest} lstat ${n1} ctime`
79 ctime1=`${fstest} lstat ${n0} ctime`
[all …]
H A D10.t32 inode=`${fstest} lstat ${n0}/${n2} inode`
37 expect ENOENT lstat ${n0}/${n2} inode
38 expect ${inode} lstat ${n1}/${n3} inode
40 expect ${inode} lstat ${n0}/${n2} inode
41 expect ENOENT lstat ${n1}/${n3} inode
55 expect ENOENT lstat ${n0}/${n2} inode
59 expect ENOENT lstat ${n1}/${n3} inode
109 expect ENOENT lstat ${n0}/${n2} type
110 expect ${inode} lstat ${n1}/${n3} inode
121 expect ENOENT lstat ${n0}/${n2} type
[all …]
/freebsd/contrib/pjdfstest/tests/link/
H A D00.t23 expect ${type},1 lstat ${n0} type,nlink
26 expect ${type},2 lstat ${n0} type,nlink
27 expect ${type},2 lstat ${n1} type,nlink
30 expect ${type},3 lstat ${n0} type,nlink
31 expect ${type},3 lstat ${n1} type,nlink
32 expect ${type},3 lstat ${n2} type,nlink
42 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid
47 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid
49 expect ENOENT lstat ${n2} type,mode,nlink,uid,gid
52 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid
[all …]
/freebsd/contrib/pjdfstest/tests/chown/
H A D00.t30 expect 123,456 lstat ${n0} uid,gid
32 expect 0,0 lstat ${n0} uid,gid
35 uidgid=`${fstest} lstat ${n1} uid,gid`
39 expect ${uidgid} lstat ${n1} uid,gid
51 expect 123,456 lstat ${n0} uid,gid
77 expect ${uidgid} lstat ${n1} uid,gid
81 expect ${uidgid} lstat ${n1} uid,gid
85 expect ${uidgid} lstat ${n1} uid,gid
124 expect ${uidgid} lstat ${n1} uid,gid
421 expect 0,0 lstat ${n0} uid,gid
[all …]
/freebsd/contrib/pjdfstest/tests/utimensat/
H A D05.t34 expect $DATE1 lstat ${n0} atime
35 expect $DATE2 lstat ${n0} mtime
36 expect $DATE3 lstat ${n2} atime
37 expect $DATE4 lstat ${n2} mtime
40 expect $DATE5 lstat ${n0} atime
41 expect $DATE6 lstat ${n0} mtime
46 test_check "$DATE5" -ne `"$fstest" lstat ${n2} atime`
47 expect $DATE4 lstat ${n2} mtime
H A D03.t27 expect $DATE1 lstat ${n0} atime
28 expect $DATE1 lstat ${n0} mtime
29 expect $DATE1 lstat ${n0} birthtime
32 expect $DATE2 lstat ${n0} atime
33 expect $DATE2 lstat ${n0} mtime
34 expect $DATE1 lstat ${n0} birthtime
H A D02.t24 orig_mtime=`$fstest lstat ${n0} mtime`
26 expect $DATE1 lstat ${n0} atime
27 expect $orig_mtime lstat ${n0} mtime
30 expect $DATE1 lstat ${n0} atime
31 expect $DATE2 lstat ${n0} mtime
H A D04.t26 expect $DATE1 lstat ${n0} atime
27 expect $DATE2 lstat ${n0} mtime
30 expect $DATE2 lstat ${n0} atime
31 expect $DATE1 lstat ${n0} mtime
H A D01.t24 old_mtime=`$fstest lstat ${n0} mtime`
25 old_atime=`$fstest lstat ${n0} atime`
29 new_mtime=`$fstest lstat ${n0} mtime`
30 new_atime=`$fstest lstat ${n0} atime`
/freebsd/contrib/pjdfstest/tests/granular/
H A D04.t23 expect 0,0 lstat ${n0} uid,gid
25 expect 0,0 lstat ${n0} uid,gid
28 expect 0,0 lstat ${n0} uid,gid
30 expect 0,65532 lstat ${n0} uid,gid
35 expect 0,0 lstat ${n0} uid,gid
37 expect 0,0 lstat ${n0} uid,gid
40 expect 0,0 lstat ${n0} uid,gid
42 expect 65534,65531 lstat ${n0} uid,gid
/freebsd/contrib/pjdfstest/tests/chflags/
H A D00.t77 expect none lstat ${n1} flags
80 expect none lstat ${n1} flags
83 expect none lstat ${n1} flags
86 expect none lstat ${n1} flags
89 expect none lstat ${n1} flags
96 expect none lstat ${n1} flags
98 expect ${allflags} lstat ${n1} flags
101 expect ${userflags} lstat ${n1} flags
107 expect none lstat ${n1} flags
132 ctime1=`${fstest} lstat ${n0} ctime`
[all …]
/freebsd/contrib/pjdfstest/tests/unlink/
H A D11.t28 expect ${type},65534,65534 lstat ${n0}/${n1} type,uid,gid
30 expect ENOENT lstat ${n0}/${n1} type
36 expect ${type},${id},${id} lstat ${n0}/${n1} type,uid,gid
38 expect ENOENT lstat ${n0}/${n1} type
45 expect ${type},65534,65534 lstat ${n0}/${n1} type,uid,gid
47 expect ENOENT lstat ${n0}/${n1} type
54 expect ${type},${id},${id} lstat ${n0}/${n1} type,uid,gid
56 expect ${type},${id},${id} lstat ${n0}/${n1} type,uid,gid
H A D00.t21 expect regular lstat ${n0} type
23 expect ENOENT lstat ${n0} type
26 expect symlink lstat ${n0} type
28 expect ENOENT lstat ${n0} type
31 expect fifo lstat ${n0} type
33 expect ENOENT lstat ${n0} type
36 expect block lstat ${n0} type
38 expect ENOENT lstat ${n0} type
41 expect char lstat ${n0} type
43 expect ENOENT lstat ${n0} type
[all …]
/freebsd/contrib/pjdfstest/tests/rmdir/
H A D11.t26 expect dir,65534,65534 lstat ${n0}/${n1} type,uid,gid
28 expect ENOENT lstat ${n0}/${n1} type
33 expect dir,65534,65534 lstat ${n0}/${n1} type,uid,gid
35 expect ENOENT lstat ${n0}/${n1} type
41 expect dir,${id},${id} lstat ${n0}/${n1} type,uid,gid
43 expect ENOENT lstat ${n0}/${n1} type
49 expect dir,${id},${id} lstat ${n0}/${n1} type,uid,gid
51 expect dir,${id},${id} lstat ${n0}/${n1} type,uid,gid
/freebsd/contrib/pjdfstest/tests/mkdir/
H A D00.t23 expect dir,0755 lstat ${n0} type,mode
26 expect dir,0151 lstat ${n0} type,mode
29 expect dir,0100 lstat ${n0} type,mode
32 expect dir,0305 lstat ${n0} type,mode
35 expect dir,0244 lstat ${n0} type,mode
43 expect 65535,65535 lstat ${n0} uid,gid
46 expect "65535,6553[45]" lstat ${n0} uid,gid
50 expect "65534,6553[35]" lstat ${n0} uid,gid
/freebsd/contrib/pjdfstest/tests/mkfifo/
H A D00.t23 expect fifo,0755 lstat ${n0} type,mode
26 expect fifo,0151 lstat ${n0} type,mode
29 expect fifo,0100 lstat ${n0} type,mode
32 expect fifo,0305 lstat ${n0} type,mode
35 expect fifo,0244 lstat ${n0} type,mode
43 expect 65535,65535 lstat ${n0} uid,gid
46 expect "65535,6553[45]" lstat ${n0} uid,gid
50 expect "65534,6553[35]" lstat ${n0} uid,gid
/freebsd/contrib/pjdfstest/tests/mknod/
H A D00.t23 expect fifo,0755 lstat ${n0} type,mode
26 expect fifo,0151 lstat ${n0} type,mode
29 expect fifo,0100 lstat ${n0} type,mode
32 expect fifo,0305 lstat ${n0} type,mode
35 expect fifo,0244 lstat ${n0} type,mode
43 expect 65535,65535 lstat ${n0} uid,gid
46 expect "65535,6553[45]" lstat ${n0} uid,gid
50 expect "65534,6553[35]" lstat ${n0} uid,gid
H A D11.t38 expect ${stattype},0755 lstat ${n0} type,mode
39 expect 1,2 lstat ${n0} major,minor
47 expect ${stattype},0755 lstat ${n0} type,mode
48 expect 4095,4095 lstat ${n0} major,minor
/freebsd/tools/test/stress2/misc/
H A Dlstat.sh39 sed '1,/^EOF/d' < $odir/$0 > $dir/lstat.c
40 mycc -o lstat -Wall -Wextra -O0 -g lstat.c || exit 1
41 rm -f lstat.c
53 $dir/lstat $path
59 rm -rf $dir/lstat $wdir/lstat.tmp.*
113 lstat(fts->fts_path, &sb);
183 while (lstat(path, &sb) == -1 && share[R2] == 0) {
/freebsd/contrib/pjdfstest/tests/open/
H A D00.t26 expect regular,0755 lstat ${n0} type,mode
29 expect regular,0151 lstat ${n0} type,mode
32 expect regular,0100 lstat ${n0} type,mode
35 expect regular,0305 lstat ${n0} type,mode
38 expect regular,0244 lstat ${n0} type,mode
47 expect 65535,65535 lstat ${n0} uid,gid
50 expect "65535,6553[45]" lstat ${n0} uid,gid
54 expect "65534,6553[35]" lstat ${n0} uid,gid
/freebsd/contrib/pjdfstest/tests/chmod/
H A D00.t31 mode=`${fstest} lstat ${n1} mode`
35 expect ${mode} lstat ${n1} mode
48 expect 0111 lstat ${n0} mode
75 ctime1=`${fstest} lstat ${n0} ctime`
78 ctime2=`${fstest} lstat ${n0} ctime`
106 ctime1=`${fstest} lstat ${n0} ctime`
109 ctime2=`${fstest} lstat ${n0} ctime`
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_secure.c170 assertEqualInt(0, lstat("link_to_dir3", &st)); in DEFINE_TEST()
192 assertEqualInt(0, lstat("link_to_dir4", &st)); in DEFINE_TEST()
220 assertEqualInt(0, lstat("link_to_dir5", &st)); in DEFINE_TEST()
250 assert(0 == lstat("dir", &st)); in DEFINE_TEST()
254 assert(0 == lstat("link_to_dir", &st)); in DEFINE_TEST()
285 assert(0 == lstat("dir/filea", &st)); in DEFINE_TEST()
290 assert(0 != lstat("dir/fileb", &st)); in DEFINE_TEST()
292 assert(0 == lstat("link_to_dir2", &st)); in DEFINE_TEST()
298 assert(0 == lstat("link_to_dir2/filec", &st)); in DEFINE_TEST()
304 assert(0 != lstat("dir/filed", &st)); in DEFINE_TEST()
/freebsd/contrib/netbsd-tests/lib/libc/c063/
H A Dt_linkat.c165 ATF_REQUIRE(lstat(LINK, &ost) == 0); in ATF_TC_BODY()
166 ATF_REQUIRE(lstat(TARGET, &nst) == 0); in ATF_TC_BODY()
169 ATF_REQUIRE(lstat(FILE, &ost) == 0); in ATF_TC_BODY()
170 ATF_REQUIRE(lstat(TARGET, &nst) == 0); in ATF_TC_BODY()
197 ATF_REQUIRE(lstat(LINK, &ost) == 0); in ATF_TC_BODY()
198 ATF_REQUIRE(lstat(TARGET, &nst) == 0); in ATF_TC_BODY()
201 ATF_REQUIRE(lstat(FILE, &ost) == 0); in ATF_TC_BODY()
202 ATF_REQUIRE(lstat(TARGET, &nst) == 0); in ATF_TC_BODY()
/freebsd/contrib/pjdfstest/tests/truncate/
H A D00.t21 expect 1234567 lstat ${n0} size
23 expect 567 lstat ${n0} size
28 expect 23456 lstat ${n0} size
30 expect 1 lstat ${n0} size

123456789