]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/500: skip this test if formatting fails
authorDarrick J. Wong <djwong@kernel.org>
Wed, 1 Feb 2023 00:51:40 +0000 (16:51 -0800)
committerZorro Lang <zlang@kernel.org>
Fri, 3 Feb 2023 09:51:37 +0000 (17:51 +0800)
commitc7c1063809efe4c3ff157282510dc87d0e54bd67
treec205217b5057a050274ded32610be57de1c2da6a
parent82961ee6b44f320f30dc923f566c33a3ff1a102b
generic/500: skip this test if formatting fails

This testcase exercises what happens when we race a filesystem
perforing discard operations against a thin provisioning device that has
run out of space.  To constrain runtime, it creates a 128M thinp volume
and formats it.

However, if that initial format fails because (say) the 128M volume is
too small, then the test fails.  This is really a case of test
preconditions not being satisfied, so let's make the test _notrun when
this happens.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/dmthin
common/rc
tests/generic/500