Whamcloud - gitweb
make sure liblustre test can start
authornathan <nathan>
Mon, 26 Feb 2007 22:55:32 +0000 (22:55 +0000)
committernathan <nathan>
Mon, 26 Feb 2007 22:55:32 +0000 (22:55 +0000)
lustre/tests/acceptance-small.sh

index 4296343..2aec966 100755 (executable)
@@ -192,7 +192,11 @@ for NAME in $CONFIGS; do
 
        if [ "$LIBLUSTRE" != "no" ]; then
                title liblustre
-               assert_env MGSNID
+               assert_env MGSNID MOUNT2
+               $CLEANUP
+               unload_modules
+               # Liblustre needs accept=all, noacl
+               LNETOPTS="accept=all" MDS_MOUNT_OPTS="${MDS_MOUNT_OPTS},noacl" $SETUP
                export LIBLUSTRE_MOUNT_POINT=$MOUNT2
                export LIBLUSTRE_MOUNT_TARGET=$MGSNID:/$FSNAME
                export LIBLUSTRE_TIMEOUT=`cat /proc/sys/lustre/timeout`
@@ -208,11 +212,6 @@ for NAME in $CONFIGS; do
        $CLEANUP
 done
 
-if [ "$SANITY_QUOTA" != "no" ]; then
-        title sanity-quota
-        sh sanity-quota.sh
-fi
-
 if [ "$REPLAY_SINGLE" != "no" ]; then
         title replay-single
        sh replay-single.sh
@@ -243,6 +242,11 @@ if [ "$INSANITY" != "no" ]; then
         sh insanity.sh -r
 fi
 
+if [ "$SANITY_QUOTA" != "no" ]; then
+        title sanity-quota
+        sh sanity-quota.sh
+fi
+
 title FINISHED
 
 RC=$?