aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-04-08 15:32:42 +0200
committerZorro Lang <zlang@kernel.org>2024-04-11 03:25:01 +0800
commit0e5c12dfd008efc2848c98108c9237487e91ef35 (patch)
tree68bf4fd915282371c0d272291611b936bf9cab73
parent013d374aac5494f6a41f49b98613a9b573106c4a (diff)
downloadxfstests-dev-0e5c12dfd008efc2848c98108c9237487e91ef35.tar.gz
xfs/522: use reflink instead of crc as test featurev2024.04.14
Replace crc as the main test feature with reflink so that this test do not require v4 file system support. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/xfs/52258
1 files changed, 29 insertions, 29 deletions
diff --git a/tests/xfs/522 b/tests/xfs/522
index 2475d5844d..05251b0e22 100755
--- a/tests/xfs/522
+++ b/tests/xfs/522
@@ -46,58 +46,58 @@ test_mkfs_config() {
echo Simplest config file
cat > $def_cfgfile << ENDL
[metadata]
-crc = 0
+reflink = 0
ENDL
test_mkfs_config $def_cfgfile
echo Piped-in config file
test_mkfs_config << ENDL
[metadata]
-crc = 0
+reflink = 0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc = 1
+reflink = 1
ENDL
echo Full line comment
test_mkfs_config << ENDL
# This is a full line comment.
[metadata]
-crc = 0
+reflink = 0
ENDL
test_mkfs_config << ENDL
# This is a full line comment.
[metadata]
-crc = 0
+reflink = 0
ENDL
test_mkfs_config << ENDL
#This is a full line comment.
[metadata]
-crc = 0
+reflink = 0
ENDL
echo End of line comment
test_mkfs_config << ENDL
[metadata]
-crc = 0 ; This is an eol comment.
+reflink = 0 ; This is an eol comment.
ENDL
test_mkfs_config << ENDL
[metadata]
-crc = 0 ;This is an eol comment.
+reflink = 0 ;This is an eol comment.
ENDL
echo Multiple directives
test_mkfs_config << ENDL
[metadata]
-crc = 0
+reflink = 0
finobt = 0
ENDL
echo Multiple sections
test_mkfs_config << ENDL
[metadata]
-crc = 0
+reflink = 0
[inode]
sparse = 0
@@ -111,92 +111,92 @@ ENDL
echo Space around the section name
test_mkfs_config << ENDL
[metadata]
-crc = 0
+reflink = 0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc = 0
+reflink = 0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc = 0
+reflink = 0
ENDL
echo Single space around the key/value directive
test_mkfs_config << ENDL
[metadata]
- crc=0
+ reflink=0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc =0
+reflink =0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc= 0
+reflink= 0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc=0
+reflink=0
ENDL
echo Two spaces around the key/value directive
test_mkfs_config << ENDL
[metadata]
- crc =0
+ reflink =0
ENDL
test_mkfs_config << ENDL
[metadata]
- crc= 0
+ reflink= 0
ENDL
test_mkfs_config << ENDL
[metadata]
- crc=0
+ reflink=0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc = 0
+reflink = 0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc =0
+reflink =0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc= 0
+reflink= 0
ENDL
echo Three spaces around the key/value directive
test_mkfs_config << ENDL
[metadata]
- crc = 0
+ reflink = 0
ENDL
test_mkfs_config << ENDL
[metadata]
- crc= 0
+ reflink= 0
ENDL
test_mkfs_config << ENDL
[metadata]
-crc = 0
+reflink = 0
ENDL
echo Four spaces around the key/value directive
test_mkfs_config << ENDL
[metadata]
- crc = 0
+ reflink = 0
ENDL
echo Arbitrary spaces and tabs
test_mkfs_config << ENDL
[metadata]
- crc = 0
+ reflink = 0
ENDL
echo ambiguous comment/section names
test_mkfs_config << ENDL
[metadata]
#[data]
-crc = 0
+reflink = 0
ENDL
echo ambiguous comment/variable names