Tests: Don't test block size in statvfs test.
authorRichard Jones <rjones@trick.home.annexia.org>
Thu, 6 Aug 2009 17:40:59 +0000 (18:40 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Thu, 6 Aug 2009 17:40:59 +0000 (18:40 +0100)
The block size changes between kernel releases, causing
a false failure in the tests.  The error was:

test_statvfs_0: bsize was 65536, expected 131072

src/generator.ml

index 7ac4ac8..8b0fc66 100755 (executable)
@@ -1619,8 +1619,7 @@ This is the same as the C<lstat(2)> system call.");
 
   ("statvfs", (RStruct ("statbuf", "statvfs"), [String "path"]), 54, [],
    [InitSquashFS, Always, TestOutputStruct (
-      [["statvfs"; "/"]], [CompareWithInt ("namemax", 256);
-                           CompareWithInt ("bsize", 131072)])],
+      [["statvfs"; "/"]], [CompareWithInt ("namemax", 256)])],
    "get file system statistics",
    "\
 Returns file system statistics for any mounted file system.