diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-08-06 18:40:59 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-08-06 18:40:59 +0100 |
commit | a8a4ce2bd3fd021e063cb3b939b45059f07ed053 (patch) | |
tree | 49e6df11da654dfeca9035bf47d8f1622347359b /src | |
parent | 6abec8f18473b8f373fb48a05265c0c5df881ff5 (diff) | |
download | libguestfs-a8a4ce2bd3fd021e063cb3b939b45059f07ed053.tar.gz libguestfs-a8a4ce2bd3fd021e063cb3b939b45059f07ed053.tar.xz libguestfs-a8a4ce2bd3fd021e063cb3b939b45059f07ed053.zip |
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
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/generator.ml b/src/generator.ml index 7ac4ac80..8b0fc664 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -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. |