]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfs: xfs_copy doens't like RT sections
authorChristoph Hellwig <hch@lst.de>
Thu, 31 Oct 2024 17:58:00 +0000 (18:58 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 31 Oct 2024 17:58:00 +0000 (18:58 +0100)
internal or external..

Signed-off-by: Christoph Hellwig <hch@lst.de>
common/xfs

index 41a6432ad338d113dbe13287c9c45bf88bab1d08..49c5af8e5af91091244e5590acfdb9d25356c48e 100644 (file)
@@ -1551,6 +1551,9 @@ _require_xfs_copy()
        [ "$USE_EXTERNAL" = yes ] && \
                _notrun "Cannot xfs_copy with external devices"
 
+       xfs_info "$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