Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69c86c5
)
b=20101 lfs getstripe -d test for sanity 27w
author
yangsheng
<Sheng.Yang@Sun.COM>
Tue, 2 Mar 2010 15:32:26 +0000
(23:32 +0800)
committer
Johann Lombardi
<johann@sun.com>
Wed, 3 Mar 2010 10:42:11 +0000
(11:42 +0100)
i=adilger
i=robert
lustre/tests/sanity.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
a03168a
..
4241a6b
100644
(file)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-1154,6
+1154,8
@@
test_27w() { # bug 10997
$SETSTRIPE $DIR/$tdir/f0 -s 65536 || error "lstripe failed"
size=`$GETSTRIPE $DIR/$tdir/f0 -s`
[ $size -ne 65536 ] && error "stripe size $size != 65536" || true
+ gsdir=$($LFS getstripe -d $DIR/$tdir)
+ [ $(echo $gsdir | grep -c stripe_count) -ne 1 ] && error "$LFS getstripe -d $DIR/$tdir failed"
[ "$OSTCOUNT" -lt "2" ] && skip_env "skipping multiple stripe count/offset test" && return
for i in `seq 1 $OSTCOUNT`; do