fstests: use _require_symlinks on all necessary tests
authorEric Sandeen <sandeen@sandeen.net>
Wed, 15 Apr 2020 20:18:27 +0000 (15:18 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 19 Apr 2020 16:42:11 +0000 (00:42 +0800)
Consistently use _require_symlinks on all generic tests which
create a symlink when they run.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
13 files changed:
tests/generic/062
tests/generic/109
tests/generic/294
tests/generic/306
tests/generic/348
tests/generic/360
tests/generic/397
tests/generic/399
tests/generic/401
tests/generic/423
tests/generic/440
tests/generic/479
tests/generic/556

index 3fef02e8fc284afbb5597f926bf5f2468b40de0b..ba7448854996fb8675cda6f6406c31aadda5a21d 100755 (executable)
@@ -59,6 +59,7 @@ _supported_os Linux
 
 _require_scratch
 _require_attrs
+_require_symlinks
 
 rm -f $tmp.backup1 $tmp.backup2 $seqres.full
 
index 8be70c23cd97165a94f5ca876655fea9e5b9cdcd..549a95b1c3becf2c1a28b0fe4c1c5a06aa54d643 100755 (executable)
@@ -29,6 +29,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
+_require_symlinks
 
 rm -f $seqres.full
 
index b74579ace3b672353ebe96786e0ad17c97652746..32c89b039374a74d94e4a34a2b8d908d1dfc2aa5 100755 (executable)
@@ -32,6 +32,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
+_require_symlinks
 
 rm -f $seqres.full
 _scratch_mkfs > $seqres.full 2>&1 || _fail "Could not mkfs scratch device"
index 081d1a8954b46099af907ba3688964bf57ee8928..046f4516ec990ff621ab180a3bc66ea312c947dc 100755 (executable)
@@ -33,6 +33,7 @@ _supported_fs generic
 _supported_os Linux
 _require_scratch
 _require_test
+_require_symlinks
 
 DEVNULL=$SCRATCH_MNT/devnull
 DEVZERO=$SCRATCH_MNT/devzero
index 630ff1605598db9816ab7a9ccf279dce6bf8ec24..e0139d9ae4549086e1605432c5584ce688d36069 100755 (executable)
@@ -32,6 +32,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
+_require_symlinks
 _require_dm_target flakey
 
 rm -f $seqres.full
index a9a4f2f9cb6beffe7c25734494a4c315d65560ca..f15548e28528ada7e12fd804eef483181857d9f4 100755 (executable)
@@ -31,6 +31,7 @@ rm -f $seqres.full
 _supported_fs generic
 _supported_os Linux
 _require_test
+_require_symlinks
 
 linkfile=$TEST_DIR/$seq.symlink
 rm -f $linkfile
index f2e229501d12aa6d575817cfd9bbd3f311d9ba54..c2245bd50385e173447e8129ce439e9b32560598 100755 (executable)
@@ -36,6 +36,7 @@ rm -f $seqres.full
 # real QA test starts here
 _supported_fs generic
 _supported_os Linux
+_require_symlinks
 _require_scratch_encryption
 _require_command "$KEYCTL_PROG" keyctl
 
index a9b3997ae59e98058e40b576ac371b55445ee231..a40137207dec1ddf3d6d35758c6cb41afa79b902 100755 (executable)
@@ -43,6 +43,7 @@ rm -f $seqres.full
 _supported_fs generic
 _supported_os Linux
 _require_scratch_encryption
+_require_symlinks
 _require_command "$XZ_PROG" xz
 _require_command "$KEYCTL_PROG" keyctl
 
index 9d45fbcd34821a4639b4ddb75f8fcf187fad07c5..00e9bbe0aac74276a04d850344bb00063a5471bf 100755 (executable)
@@ -37,6 +37,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
+_require_symlinks
 _require_test_program "t_dir_type"
 
 rm -f $seqres.full
index b61d5de034a39fbb081e3c16b7bb30e476439598..6db55fd6f7577b01f522e2fc5ec8188b760ba578 100755 (executable)
@@ -38,6 +38,7 @@ _require_test
 _require_test_program "stat_test"
 _require_test_program "af_unix"
 _require_statx
+_require_symlinks
 
 function check_stat () {
        $here/src/stat_test $* || echo stat_test failed
index 1ec1ed4856ecc3e4b6bbe8148d4f60d269a78a80..3446c14791cc7e596e2a04c916db4d591956582f 100755 (executable)
@@ -38,6 +38,7 @@ rm -f $seqres.full
 _supported_fs generic
 _supported_os Linux
 _require_scratch_encryption
+_require_symlinks
 _require_command "$KEYCTL_PROG" keyctl
 
 # Set up an encryption-capable filesystem and an encryption key.
index ad20aaeecb76f6be4810bad928be8275cec120bc..aaf864a413575e2e028675df66759ee7175862c1 100755 (executable)
@@ -32,6 +32,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
+_require_symlinks
 _require_dm_target flakey
 
 rm -f $seqres.full
index b7239e340fbf9270ddf107bd9d7cf7d5cdc1000d..4899b40356b41ee91de0895b3de749399550f5f2 100755 (executable)
@@ -19,6 +19,7 @@ _supported_os Linux
 _supported_fs generic
 _require_scratch_nocheck
 _require_scratch_casefold
+_require_symlinks
 _require_check_dmesg
 _require_attrs