]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/032: properly test for corruption from xfs_copy
authorEric Sandeen <sandeen@redhat.com>
Tue, 26 May 2015 02:51:57 +0000 (12:51 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 26 May 2015 02:51:57 +0000 (12:51 +1000)
commitac6c6b9f0b9844ab4b74c842ce7d74e145361a4e
treef98db1829018f3ede7a4aec0e3f58d8f1ae09937
parentfa4fcb52945fcc2ef3777b2518cd6f478f37e03e
xfs/032: properly test for corruption from xfs_copy

From the xfs_repair manpage:

    xfs_repair run without the -n option will always return
    a status code of 0.

So we must use "-n" to detect corruption in this test.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/xfs/032