Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Mon, 27 Jun 2005 23:14:15 +0000 (23:14 +0000)
committeradilger <adilger>
Mon, 27 Jun 2005 23:14:15 +0000 (23:14 +0000)
Allow a small amount of space for llog creation during test.

lustre/tests/sanity.sh

index 54b41b8..daf048f 100644 (file)
@@ -2081,7 +2081,7 @@ test_57b() {
 
        MDSFREE2="`cat /proc/fs/lustre/mds/*/kbytesfree`"
        MDCFREE2="`cat /proc/fs/lustre/mdc/*/kbytesfree`"
-       if [ "$MDCFREE" != "$MDCFREE2" ]; then
+       if [ "$MDCFREE2" -lt "$((MDCFREE - 8))" ]; then
                if [ "$MDSFREE" != "$MDSFREE2" ]; then
                        error "MDC before $MDCFREE != after $MDCFREE2"
                else