aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-03 12:12:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-03 12:12:09 -0700
commitc87c0b8c698f35b5c18dff4f6a962a3e4880310e (patch)
tree51fa50ef7e7979e5d74dc75efb948d3f0b2ac42f
parent2008d70624828da20f53b26d5c53f1d8af5b57d9 (diff)
make test_statvfs more robust
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 40ef995b..055b716d 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -6824,7 +6824,7 @@ def process(filename):
printf("f_blocks: %lu\n", s.f_blocks);
printf("f_bfree: %lu\n", s.f_bfree);
printf("f_bavail: %lu\n", s.f_bavail);
- printf("f_files: %lu\n", s.f_files);
+ printf("f_files: %d\n", s.f_files > 5);
printf("f_ffree: %lu\n", s.f_ffree);
printf("f_favail: %lu\n", s.f_favail);
printf("f_fsid: %lu\n", s.f_fsid);
@@ -6842,7 +6842,7 @@ def process(filename):
f_blocks: 1000000
f_bfree: 500000
f_bavail: 500000
- f_files: 10
+ f_files: 1
f_ffree: 1000000
f_favail: 1000000
f_fsid: 42