Whamcloud - gitweb
- fix in test_16 in conf sanity
authoryury <yury>
Wed, 16 Mar 2005 11:49:32 +0000 (11:49 +0000)
committeryury <yury>
Wed, 16 Mar 2005 11:49:32 +0000 (11:49 +0000)
lustre/tests/conf-sanity.sh

index 88514ca..246f482 100644 (file)
@@ -652,9 +652,9 @@ test_16() {
         EXPECTEDPENDINGMODE=`debugfs -R "stat PENDING" $MDSDEV 2> /dev/null | awk '/Mode: /{print $6}'`
 
        # check if values are empty
-       test "$EXPECTEDOBJECTSMODE" = "x" && EXPECTEDOBJECTSMODE="<empty>"
-       test "$EXPECTEDLOGSMODE" = "x" && EXPECTEDLOGSMODE="<empty>"
-       test "$EXPECTEDPENDINGMODE" = "x" && EXPECTEDPENDINGMODE="<empty>"
+       test "x$EXPECTEDOBJECTSMODE" = "x" && EXPECTEDOBJECTSMODE="<empty>"
+       test "x$EXPECTEDLOGSMODE" = "x" && EXPECTEDLOGSMODE="<empty>"
+       test "x$EXPECTEDPENDINGMODE" = "x" && EXPECTEDPENDINGMODE="<empty>"
 
        # check if values are valid digits
        is_digit $EXPECTEDOBJECTSMODE || {