Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=23049 set path to truncate
[fs/lustre-release.git]
/
lustre
/
tests
/
runtests
diff --git
a/lustre/tests/runtests
b/lustre/tests/runtests
index
34d24d4
..
2cc27e8
100755
(executable)
--- a/
lustre/tests/runtests
+++ b/
lustre/tests/runtests
@@
-54,7
+54,7
@@
if [ $COUNT -gt 10 -o $COUNT -eq 0 ]; then
rm $HOSTS || error "can't remove $HOSTS" 9
cp /etc/hosts $HOSTS.2 || error "can't cp /etc/hosts to $HOSTS.2" 7
log "truncating $HOSTS.2 to $TRUNCSIZE bytes"
-
truncate
$HOSTS.2 $TRUNCSIZE
+
$TRUNCATE
$HOSTS.2 $TRUNCSIZE
fi
DST=$MOUNT/runtest.$$