From: Richard Jones Date: Thu, 6 Aug 2009 17:40:59 +0000 (+0100) Subject: Tests: Don't test block size in statvfs test. X-Git-Tag: 1.0.67~62 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=a8a4ce2bd3fd021e063cb3b939b45059f07ed053;p=libguestfs.git Tests: Don't test block size in statvfs test. 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 --- diff --git a/src/generator.ml b/src/generator.ml index 7ac4ac8..8b0fc66 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -1619,8 +1619,7 @@ This is the same as the C 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.