]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs: xfs_copy doesn't like RT sections
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Mar 2025 07:21:38 +0000 (08:21 +0100)
committerZorro Lang <zlang@kernel.org>
Fri, 28 Mar 2025 01:05:05 +0000 (09:05 +0800)
internal or external..

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/xfs

index 5ecdf68ad79fb4419cee051c7e0c6610eb134de7..81d568d30ee3f4fcbb182c386ec58960eff0936c 100644 (file)
@@ -1556,6 +1556,9 @@ _require_xfs_copy()
        [ "$USE_EXTERNAL" = yes ] && \
                _notrun "Cannot xfs_copy with external devices"
 
+       $XFS_INFO_PROG "$TEST_DIR" | grep -q 'realtime.*internal' &&
+               _notrun "Cannot xfs_copy with internal rt device"
+
        # xfs_copy on v5 filesystems do not require the "-d" option if xfs_db
        # can change the UUID on v5 filesystems
        touch /tmp/$$.img