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
LU-2345 tests: remove $FSTYPE from tests
[fs/lustre-release.git]
/
lustre
/
tests
/
conf-sanity.sh
diff --git
a/lustre/tests/conf-sanity.sh
b/lustre/tests/conf-sanity.sh
index
49d0aa1
..
6a25571
100644
(file)
--- a/
lustre/tests/conf-sanity.sh
+++ b/
lustre/tests/conf-sanity.sh
@@
-1228,7
+1228,7
@@
test_32newtarball() {
sed -e 's/\./_/g') # E.g., "1.8.7" -> "1_8"
dst=$(cd $dst; pwd)
pushd $tmp/img
sed -e 's/\./_/g') # E.g., "1.8.7" -> "1_8"
dst=$(cd $dst; pwd)
pushd $tmp/img
- tar cjvf $dst/disk$version-$
FSTYPE
.tar.bz2 -S *
+ tar cjvf $dst/disk$version-$
(facet_fstype $SINGLEMDS)
.tar.bz2 -S *
popd
rm -r $tmp
popd
rm -r $tmp
@@
-1253,9
+1253,8
@@
t32_check() {
exit 0
fi
exit 0
fi
- local IMGTYPE=$
FSTYPE
+ local IMGTYPE=$
(facet_fstype $SINGLEMDS)
- [ ! -z "$MDSFSTYPE" ] && IMGTYPE=$MDSFSTYPE
tarballs=$($r find $RLUSTRE/tests -maxdepth 1 -name \'disk*-$IMGTYPE.tar.bz2\')
if [ -z "$tarballs" ]; then
tarballs=$($r find $RLUSTRE/tests -maxdepth 1 -name \'disk*-$IMGTYPE.tar.bz2\')
if [ -z "$tarballs" ]; then
@@
-1303,7
+1302,8
@@
t32_reload_modules() {
while ((i < 20)); do
echo "Unloading modules on $node: Attempt $i"
while ((i < 20)); do
echo "Unloading modules on $node: Attempt $i"
- do_rpc_nodes $node $LUSTRE_RMMOD $FSTYPE && all_removed=true
+ do_rpc_nodes $node $LUSTRE_RMMOD $(facet_fstype $SINGLEMDS) &&
+ all_removed=true
do_rpc_nodes $node check_mem_leak || return 1
if $all_removed; then
load_modules
do_rpc_nodes $node check_mem_leak || return 1
if $all_removed; then
load_modules