Whamcloud - gitweb
Add st_block checking to multistat.c.
[fs/lustre-release.git] / lustre / tests / multifstat.c
index e169073..c305acc 100644 (file)
@@ -95,5 +95,11 @@ int main(int argc, char **argv)
                 return 1;
         }
 
+        if ( st1.st_blocks != st2.st_blocks ) {
+                printf("Blocks don't match %ld, %ld\n",
+                       (long)st1.st_blocks, (long)st2.st_blocks);
+                return 1;
+        }
+
         return 0;
 }