repo.or.cz
/
freebsd-src
/
fkvm-freebsd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
turns printfs back on
[freebsd-src/fkvm-freebsd.git]
/
tools
/
regression
/
fstest
/
tests
/
unlink
/
02.t
blob
0d4c57925055d2bb76e69e454eee2c874221b5d4
1
#!/bin/sh
2
# $FreeBSD$
3
4
desc
=
"unlink returns ENAMETOOLONG if a component of a pathname exceeded 255 characters"
5
6
dir
=
`dirname
$0
`
7
.
${dir}
/
..
/
misc.sh
8
9
echo
"1..4"
10
11
expect
0
create
${name255}
0644
12
expect
0
unlink
${name255}
13
expect ENOENT unlink
${name255}
14
expect ENAMETOOLONG unlink
${name256}