[PATCH] generic/263: be quiet about unsupported operation

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



Old kernels don't support zero-range/collapse-range/insert-range
fallocate operations and fail the test as:

  +fsx: main: filesystem does not support fallocate mode 0x10, disabling!
  +: Operation not supported
  +fsx: main: filesystem does not support fallocate mode 0x8, disabling!
  +: Operation not supported
  +fsx: main: filesystem does not support fallocate mode 0x20, disabling!
  +: Operation not supported

Adding "-q" option to fsx to quiet the warning message.

Signed-off-by: Eryu Guan <eguan@xxxxxxxxxx>
---
 tests/generic/263     | 4 ++--
 tests/generic/263.out | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/generic/263 b/tests/generic/263
index 7584bc7..d6456f8 100755
--- a/tests/generic/263
+++ b/tests/generic/263
@@ -58,8 +58,8 @@ run_fsx()
 psize=`$here/src/feature -s`
 bsize=`_min_dio_alignment $TEST_DEV`
 
-run_fsx -N 10000  -o 8192   -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
-run_fsx -N 10000  -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
+run_fsx -N 10000  -o 8192   -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -q
+run_fsx -N 10000  -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -q
 
 status=0
 exit
diff --git a/tests/generic/263.out b/tests/generic/263.out
index 64699f6..5285735 100644
--- a/tests/generic/263.out
+++ b/tests/generic/263.out
@@ -1,3 +1,3 @@
 QA output created by 263
-fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
-fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
+fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -q
+fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -q
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux