/freebsd-11-stable/contrib/pjdfstest/tests/symlink/ |
H A D | 12.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/12.t 211352 2010-08-15 21:24:17Z pjd $ 4 desc="symlink returns EFAULT if one of the pathnames specified is outside the process's allocated address space" 13 expect EFAULT symlink NULL ${n0} 14 expect EFAULT symlink DEADCODE ${n0} 15 expect EFAULT symlink test NULL 16 expect EFAULT symlink test DEADCODE 17 expect EFAULT symlink NULL DEADCODE 18 expect EFAULT symlink DEADCODE NULL
|
H A D | 02.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/02.t 211352 2010-08-15 21:24:17Z pjd $ 4 desc="symlink returns ENAMETOOLONG if a component of the name2 pathname exceeded {NAME_MAX} characters" 15 expect 0 symlink ${nx} ${n0} 17 expect 0 symlink ${n0} ${nx} 20 expect ENAMETOOLONG symlink ${n0} ${nxx} 21 expect 0 symlink ${nxx} ${n0}
|
H A D | 03.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/03.t 211352 2010-08-15 21:24:17Z pjd $ 4 desc="symlink returns ENAMETOOLONG if an entire length of either path name exceeded {PATH_MAX} characters" 16 expect 0 symlink ${nx} ${n0} 18 expect 0 symlink ${n0} ${nx} 20 expect ENAMETOOLONG symlink ${n0} ${nxx} 21 expect ENAMETOOLONG symlink ${nxx} ${n0}
|
H A D | 07.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/07.t 211352 2010-08-15 21:24:17Z pjd $ 4 desc="symlink returns ELOOP if too many symbolic links were encountered in translating the name2 path name" 14 expect 0 symlink ${n0} ${n1} 15 expect 0 symlink ${n1} ${n0} 16 expect ELOOP symlink test ${n0}/test 17 expect ELOOP symlink test ${n1}/test
|
H A D | 08.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/08.t 211474 2010-08-18 22:06:43Z pjd $ 4 desc="symlink returns EEXIST if the name2 argument already exists" 13 for type in regular dir fifo block char socket symlink; do 15 expect EEXIST symlink test ${n0}
|
H A D | 09.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/09.t 211352 2010-08-15 21:24:17Z pjd $ 4 desc="symlink returns EPERM if the parent directory of the file named by name2 has its immutable flag set" 27 expect 0 symlink test ${n0}/${n1} 31 expect EPERM symlink test ${n0}/${n1} 33 expect 0 symlink test ${n0}/${n1} 37 expect 0 symlink test ${n0}/${n1} 42 expect 0 symlink test ${n0}/${n1} 49 expect EPERM symlink test ${n0}/${n1} 51 expect 0 symlink test ${n0}/${n1} 55 expect 0 symlink tes [all...] |
H A D | 00.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/00.t 211352 2010-08-15 21:24:17Z pjd $ 4 desc="symlink creates symbolic links" 16 expect 0 symlink ${n0} ${n1} 17 expect symlink lstat ${n1} type 26 expect 0 symlink test ${n0}/${n1}
|
H A D | 05.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/05.t 211352 2010-08-15 21:24:17Z pjd $ 4 desc="symlink returns EACCES when a component of the name2 path prefix denies search permission" 22 expect 0 -u 65534 -g 65534 symlink test ${n1}/${n2} 26 expect EACCES -u 65534 -g 65534 symlink test ${n1}/${n2} 28 expect 0 -u 65534 -g 65534 symlink test ${n1}/${n2}
|
H A D | 06.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/06.t 211352 2010-08-15 21:24:17Z pjd $ 4 desc="symlink returns EACCES if the parent directory of the file to be created denies write permission" 22 expect 0 -u 65534 -g 65534 symlink test ${n1}/${n2} 26 expect EACCES -u 65534 -g 65534 symlink test ${n1}/${n2} 28 expect 0 -u 65534 -g 65534 symlink test ${n1}/${n2}
|
H A D | 10.t | 2 # $FreeBSD: head/tools/regression/pjdfstest/tests/symlink/10.t 211352 2010-08-15 21:24:17Z pjd $ 4 desc="symlink returns EROFS if the file name2 would reside on a read-only file system" 22 expect 0 symlink test ${n0}/${n1} 25 expect EROFS symlink test ${n0}/${n1} 27 expect 0 symlink test ${n0}/${n1}
|
/freebsd-11-stable/usr.sbin/lpr/lp/ |
H A D | lp.sh | 45 symlink="-s" 63 symlink="";; 83 exec /usr/bin/lpr "-P${dest}" ${symlink} ${ncopies} ${mailafter} ${title:+-J"${title}"} "$@"
|
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/ |
H A D | t_cwd.sh | 51 test_case symlink_chdir /rump symlink chdir 52 test_case symlink_fchdir /rump symlink fchdir 53 test_case symlink_slash_chdir // symlink chdir 54 test_case symlink_slash_fchdir // symlink fchdir
|
/freebsd-11-stable/contrib/pjdfstest/tests/chflags/ |
H A D | 06.t | 16 expect 0 symlink ${n0} ${n1} 17 expect 0 symlink ${n1} ${n0}
|
/freebsd-11-stable/contrib/pjdfstest/tests/ftruncate/ |
H A D | 07.t | 14 expect 0 symlink ${n0} ${n1} 15 expect 0 symlink ${n1} ${n0}
|
/freebsd-11-stable/contrib/pjdfstest/tests/mkdir/ |
H A D | 07.t | 14 expect 0 symlink ${n0} ${n1} 15 expect 0 symlink ${n1} ${n0}
|
H A D | 10.t | 13 for type in regular dir fifo block char socket symlink; do
|
/freebsd-11-stable/contrib/pjdfstest/tests/mkfifo/ |
H A D | 07.t | 14 expect 0 symlink ${n0} ${n1} 15 expect 0 symlink ${n1} ${n0}
|
H A D | 09.t | 13 for type in regular dir fifo block char socket symlink; do
|
/freebsd-11-stable/contrib/pjdfstest/tests/mknod/ |
H A D | 07.t | 14 expect 0 symlink ${n0} ${n1} 15 expect 0 symlink ${n1} ${n0}
|
/freebsd-11-stable/contrib/pjdfstest/tests/open/ |
H A D | 12.t | 14 expect 0 symlink ${n0} ${n1} 15 expect 0 symlink ${n1} ${n0}
|
/freebsd-11-stable/contrib/pjdfstest/tests/rmdir/ |
H A D | 05.t | 14 expect 0 symlink ${n0} ${n1} 15 expect 0 symlink ${n1} ${n0}
|
/freebsd-11-stable/contrib/pjdfstest/tests/truncate/ |
H A D | 07.t | 14 expect 0 symlink ${n0} ${n1} 15 expect 0 symlink ${n1} ${n0}
|
/freebsd-11-stable/contrib/pjdfstest/tests/unlink/ |
H A D | 07.t | 14 expect 0 symlink ${n0} ${n1} 15 expect 0 symlink ${n1} ${n0}
|
/freebsd-11-stable/lib/libc/stdlib/ |
H A D | realpath.c | 46 * Find the real name of path, by removing all ".", ".." and symlink 58 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; local 146 slen = readlink(resolved, symlink, sizeof(symlink)); 147 if (slen <= 0 || slen >= sizeof(symlink)) { 156 symlink[slen] = '\0'; 157 if (symlink[0] == '/') { 169 * append them to symlink. The result is placed 173 if (symlink[slen - 1] != '/') { 174 if (slen + 1 >= sizeof(symlink)) { [all...] |
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | realpath.c | 56 * Find the real name of path, by removing all ".", ".." and symlink 68 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; local 176 slen = readlink(resolved, symlink, sizeof(symlink) - 1); 179 symlink[slen] = '\0'; 180 if (symlink[0] == '/') { 193 * append them to symlink. The result is placed 197 if (symlink[slen - 1] != '/') { 199 (ptrdiff_t)sizeof(symlink)) { 203 symlink[sle [all...] |