]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfs/601: move this to tests/generic
authorDarrick J. Wong <djwong@kernel.org>
Mon, 20 Nov 2023 19:35:14 +0000 (11:35 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 9 Dec 2023 04:05:35 +0000 (12:05 +0800)
As per last week's discussion, xfs/601 doesn't have any xfs-specific
functionality in it.  Turn it into a generic test.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/734 [moved from tests/xfs/601 with 98% similarity]
tests/generic/734.out [moved from tests/xfs/601.out with 78% similarity]

similarity index 98%
rename from tests/xfs/601
rename to tests/generic/734
index 9df46e5ebeabdeada370fbcc44470fd7d444d7a7..93c2ad90e3cd85e34bada2f9158558eac7c0de08 100755 (executable)
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2023 Oracle.  All Rights Reserved.
 #
-# FS QA Test No. 601
+# FS QA Test No. 734
 #
 # This is a regression test for the kernel commit noted below.  The stale
 # memory exposure can be exploited by creating a file with shared blocks,
@@ -29,6 +29,7 @@ _fixed_by_git_commit kernel 35d30c9cf127 \
        "iomap: don't skip reading in !uptodate folios when unsharing a range"
 
 # real QA test starts here
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "funshare"
similarity index 78%
rename from tests/xfs/601.out
rename to tests/generic/734.out
index 34d519ca46e1e3a4f48f71443bf3c07c249d896f..174c3f82cbcf8acec1508f81f8188e0d070c2d3f 100644 (file)
@@ -1,4 +1,4 @@
-QA output created by 601
+QA output created by 734
 Create the original file and a clone
 Funshare at least one pagecache page
 Check contents