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
/
truncate
/
09.t
blob
1d95c7fe918cf5173377b27ecc5e155e3adae11b
1
#!/bin/sh
2
# $FreeBSD$
3
4
desc
=
"truncate returns EISDIR if the named file is a directory"
5
6
dir
=
`dirname
$0
`
7
.
${dir}
/
..
/
misc.sh
8
9
echo
"1..3"
10
11
n0
=
`namegen`
12
13
expect
0
mkdir
${n0}
0755
14
expect EISDIR truncate
${n0}
123
15
expect
0
rmdir
${n0}