git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6abec8f
)
Tests: Don't test block size in statvfs test.
author
Richard Jones
<rjones@trick.home.annexia.org>
Thu, 6 Aug 2009 17:40:59 +0000
(18:40 +0100)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
7ac4ac8
..
8b0fc66
100755
(executable)
--- 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.