fstests: update group name according to xfs_io command requirement When a test case requires someone xfs_io command, that nearly means that case belong that kind of test group. Likes fpunch for punch group, fcollapse for collapse group, falloc for prealloc group, fzero for zero group and so on. Many fstests cases miss some test groups they should belong to, so this patch trys to supplement this lack, according to the "xxxx" which required by _require_xfs_io_command "xxxx". Reported-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Zorro Lang <zlang@kernel.org> Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>
cleanup: remove left files after test finishes Fix file leak in _get_max_file_size - This is obviously mostly problematic for FS lacking support for sparse files. There seems to be some seek_sanity_testfile files that are not cleaned up and take up space: -rwxr-xr-x. 1 root root 8.0G Sep 22 13:39 seek_sanity_testfile10 g/394: Clean up test files taking space: -rwxr-xr-x. 1 root root 1.0G Sep 22 14:58 394.1183899 -rwxr-xr-x. 1 root root 1.0G Sep 22 14:58 394.1183899-1 -rwxr-xr-x. 1 root root 0 sep 22 14:58 394.1183899+1 Signed-off-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>