From: yury Date: Wed, 16 Mar 2005 11:49:32 +0000 (+0000) Subject: - fix in test_16 in conf sanity X-Git-Tag: 1.3.4~54 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a2210b7e0b2b8e0ea7d722f673ab0719a0195749;p=fs%2Flustre-release.git - fix in test_16 in conf sanity --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 88514ca..246f482 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -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="" - test "$EXPECTEDLOGSMODE" = "x" && EXPECTEDLOGSMODE="" - test "$EXPECTEDPENDINGMODE" = "x" && EXPECTEDPENDINGMODE="" + test "x$EXPECTEDOBJECTSMODE" = "x" && EXPECTEDOBJECTSMODE="" + test "x$EXPECTEDLOGSMODE" = "x" && EXPECTEDLOGSMODE="" + test "x$EXPECTEDPENDINGMODE" = "x" && EXPECTEDPENDINGMODE="" # check if values are valid digits is_digit $EXPECTEDOBJECTSMODE || {