aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/fstest/tests/mkdir/02.t
blob: 8a4c47a7673d6c17eb5dffbf57423005705b1571 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# $FreeBSD$

desc="mkdir returns ENAMETOOLONG if a component of a pathname exceeded 255 characters"

dir=`dirname $0`
. ${dir}/../misc.sh

echo "1..3"

expect 0 mkdir ${name255} 0755
expect 0 rmdir ${name255}
expect ENAMETOOLONG mkdir ${name256} 0755