diff options
Diffstat (limited to 'regress/sys/ffs/tests/rmdir/02.t')
-rw-r--r-- | regress/sys/ffs/tests/rmdir/02.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/regress/sys/ffs/tests/rmdir/02.t b/regress/sys/ffs/tests/rmdir/02.t new file mode 100644 index 00000000000..cc184e5da3b --- /dev/null +++ b/regress/sys/ffs/tests/rmdir/02.t @@ -0,0 +1,9 @@ +#!/bin/sh +# $FreeBSD: src/tools/regression/fstest/tests/rmdir/02.t,v 1.1 2007/01/17 01:42:11 pjd Exp $ + +desc="rmdir returns ENAMETOOLONG if a component of a pathname exceeded 255 characters" + +expect 0 mkdir ${name255} 0755 +expect 0 rmdir ${name255} +expect ENOENT rmdir ${name255} +expect ENAMETOOLONG rmdir ${name256} |