003 File Manager
Current Path:
/usr/src/contrib/pjdfstest/tests/mkfifo
usr
/
src
/
contrib
/
pjdfstest
/
tests
/
mkfifo
/
📁
..
📄
00.t
(2.17 KB)
📄
01.t
(517 B)
📄
02.t
(452 B)
📄
03.t
(476 B)
📄
04.t
(395 B)
📄
05.t
(798 B)
📄
06.t
(812 B)
📄
07.t
(501 B)
📄
08.t
(766 B)
📄
09.t
(482 B)
📄
10.t
(1.4 KB)
📄
11.t
(741 B)
📄
12.t
(369 B)
Editing: 03.t
#!/bin/sh # vim: filetype=sh noexpandtab ts=8 sw=8 # $FreeBSD: head/tools/regression/pjdfstest/tests/mkfifo/03.t 211352 2010-08-15 21:24:17Z pjd $ desc="mkfifo returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters" dir=`dirname $0` . ${dir}/../misc.sh echo "1..4" nx=`dirgen_max` nxx="${nx}x" mkdir -p "${nx%/*}" expect 0 mkfifo ${nx} 0644 expect fifo stat ${nx} type expect 0 unlink ${nx} expect ENAMETOOLONG mkfifo ${nxx} 0644 rm -rf "${nx%%/*}"
Upload File
Create Folder