]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/053: do not unmount before calling _check_scratch_fs()
authorJunho Ryu <jayr@google.com>
Thu, 18 Feb 2016 23:45:55 +0000 (10:45 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Feb 2016 23:45:55 +0000 (10:45 +1100)
commit6aceb276d80a2e44cc9ce45e4d5501e24ef0050f
tree9e1b04f0970ba7a6be250214ea3e289b2a3dc926
parent4a5cda8102828fc52c2b68ccbe381bd8f02e1bb0
generic/053: do not unmount before calling _check_scratch_fs()

Fix generic/053 so it works on tmpfs by relying on _check_scratch_fs
to unmount before checking the file system and remounting it
afterwards.  Many other tests rely on this, and since tmpfs does not
have a file system consistency checker, this allows the test to
succeed because the files don't disappear when the tmpfs file system
is unmounted.

Signed-off-by: Junho Ryu <jayr@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/053
tests/generic/053.out