diff options
Diffstat (limited to 'regress/sys/ffs/tests/mkfifo/07.t')
-rw-r--r-- | regress/sys/ffs/tests/mkfifo/07.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/regress/sys/ffs/tests/mkfifo/07.t b/regress/sys/ffs/tests/mkfifo/07.t new file mode 100644 index 00000000000..e4dc57cb762 --- /dev/null +++ b/regress/sys/ffs/tests/mkfifo/07.t @@ -0,0 +1,14 @@ +#!/bin/sh +# $FreeBSD: src/tools/regression/fstest/tests/mkfifo/07.t,v 1.1 2007/01/17 01:42:09 pjd Exp $ + +desc="mkfifo returns ELOOP if too many symbolic links were encountered in translating the pathname" + +n0=`namegen` +n1=`namegen` + +expect 0 symlink ${n0} ${n1} +expect 0 symlink ${n1} ${n0} +expect ELOOP mkfifo ${n0}/test 0644 +expect ELOOP mkfifo ${n1}/test 0644 +expect 0 unlink ${n0} +expect 0 unlink ${n1} |