xfstests: generic/039: Standard insert range tests
PATCH v7 5/11 xfstests: generic/039: Standard insert range tests
This testcase(039) tries to test various corner cases for finsert range functionality over different type of extents.
Signed-off-by Namjae Jeon <[email protected]>
Signed-off-by Ashish Sangwan <[email protected]>
--- common/punch | 5 ++++ common/rc | 2 +- tests/generic/039 | 65 ++++++++++++++++++++++++++++++++++++++++++ tests/generic/039.out | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++ tests/generic/group | 1 + 5 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 tests/generic/039 create mode 100644 tests/generic/039.out
common/punch +5 -0
@@ -527,6 +527,11 @@ _test_generic_punch() return fi + # If zero_cmd is finsert, don't check unaligned offsets + if [ "$zero_cmd" == "finsert" ]; then + return + fi + echo " 16. data -> cache cold ->hole" if [ "$remove_testfile" ]; then rm -f $testfile
common/rc +1 -1
@@ -1520,7 +1520,7 @@ _require_xfs_io_command() "falloc" ) testio=`$XFS_IO_PROG -F -f -c "falloc 0 1m" $testfile 2>&1` ;; - "fpunch" | "fcollapse" | "zero" | "fzero" ) + "fpunch" | "fcollapse" | "zero" | "fzero" | "finsert" ) testio=`$XFS_IO_PROG -F -f -c "pwrite 0 20k" -c "fsync" \ -c "$command 4k 8k" $testfile 2>&1` ;;
tests/generic/039 new file +65 -0
65 lines not on this page · raw message
tests/generic/039.out new file +78 -0
78 lines not on this page · raw message
tests/generic/group +1 -0
@@ -41,6 +41,7 @@ 036 auto aio rw stress 037 metadata auto quick 038 auto stress +039 auto quick prealloc 053 acl repair auto quick 062 attr udf auto quick 068 other auto freeze dangerous stress
Signature · 6 lines
1.8.5.5 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs