fstests: rename _require_test_symlinks
authorEric Sandeen <sandeen@sandeen.net>
Wed, 15 Apr 2020 20:17:46 +0000 (15:17 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 19 Apr 2020 16:42:11 +0000 (00:42 +0800)
Generally these tests are not restricted to one device or the other;
testing the test device will suffice to determine the capability
but it doesn't need to be named that way.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc
tests/generic/005
tests/generic/023
tests/generic/024
tests/generic/025
tests/generic/067
tests/generic/078

index 24a8f145b8ad15c93be52294aa86fe8e6f63eb3a..31361d0e00732010f7a90d9acc31a29af922677a 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -3481,7 +3481,7 @@ run_check()
        "$@" >> $seqres.full 2>&1 || _fail "failed: '$@'"
 }
 
        "$@" >> $seqres.full 2>&1 || _fail "failed: '$@'"
 }
 
-_require_test_symlinks()
+_require_symlinks()
 {
        local target=`mktemp -p $TEST_DIR`
        local link=`mktemp -p $TEST_DIR -u`
 {
        local target=`mktemp -p $TEST_DIR`
        local link=`mktemp -p $TEST_DIR -u`
index 118fca20ed5dee42c600814750c421308d12f063..c49109e9231fa9cfdc72dbe9f38610997e9eaf39 100755 (executable)
@@ -48,7 +48,7 @@ _touch()
 # real QA test starts here
 _supported_fs generic
 _require_test
 # real QA test starts here
 _supported_fs generic
 _require_test
-_require_test_symlinks
+_require_symlinks
 
 _supported_os Linux
 
 
 _supported_os Linux
 
index ea40f3d278441321bec8ccc78d370e6668e71841..1cfa25cdd38bfc324008cb3910a577e4a5bf874b 100755 (executable)
@@ -30,7 +30,7 @@ _supported_os Linux
 
 _require_test
 _require_renameat2
 
 _require_test
 _require_renameat2
-_require_test_symlinks
+_require_symlinks
 
 # real QA test starts here
 
 
 # real QA test starts here
 
index 531a515f3add9ecbe0617a128e042d6d5186bd4b..b6ac4182e78aefcecf1a457077e386101d7c5878 100755 (executable)
@@ -30,7 +30,7 @@ _supported_os Linux
 
 _require_test
 _require_renameat2 noreplace
 
 _require_test
 _require_renameat2 noreplace
-_require_test_symlinks
+_require_symlinks
 
 # real QA test starts here
 
 
 # real QA test starts here
 
index e69d655f218d1e832e65e9f25e2c4fd7aa91b7af..2eb3e5e8626099157993d7b7a7d1164ab70a2754 100755 (executable)
@@ -30,7 +30,7 @@ _supported_os Linux
 
 _require_test
 _require_renameat2 exchange
 
 _require_test
 _require_renameat2 exchange
-_require_test_symlinks
+_require_symlinks
 
 # real QA test starts here
 
 
 # real QA test starts here
 
index bd72dc855021376f9ed1b21e0d1046bc6cf46e05..d4c710d2fa95023fc02d3b9ef72c57b3979df27f 100755 (executable)
@@ -37,7 +37,7 @@ _cleanup()
 # Modify as appropriate.
 _supported_fs generic
 _supported_os Linux
 # Modify as appropriate.
 _supported_fs generic
 _supported_os Linux
-_require_test_symlinks
+_require_symlinks
 _require_test
 _require_scratch
 _require_loop
 _require_test
 _require_scratch
 _require_loop
index a421a8abb1ddee096d3bf231f2f8abcee1104c27..ce0201c93b789b079c37cf772e035dd418b5a0fd 100755 (executable)
@@ -30,7 +30,7 @@ _supported_os Linux
 
 _require_test
 _require_renameat2 whiteout
 
 _require_test
 _require_renameat2 whiteout
-_require_test_symlinks
+_require_symlinks
 
 # real QA test starts here
 
 
 # real QA test starts here