[PATCH] fstests: Add test of rename

Dave Chinner david at fromorbit.com
Sun Sep 20 20:19:50 CDT 2015


On Tue, Aug 25, 2015 at 11:42:10AM +0200, Jan Kara wrote:
> Test renaming of various entry types in directories of various sizes.
> Check that filesystem didn't get corrupted.
> 
> Signed-off-by: Jan Kara <jack at suse.com>
> ---
>  tests/generic/326   | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  tests/generic/group |  1 +
>  2 files changed, 94 insertions(+)
>  create mode 100755 tests/generic/326

Missing an output file. I'll fix it on commit.

> +if _check_scratch_fs; then
> +	_echofull "Scratch fs is fine after renames"
> +	status=0
> +fi

This happens automatically now as a result of _require_scratch being
called, so I'll remove it.

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list