]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
fstests: Add more related cases to perms group
authorYang Xu <xuyang2018.jy@fujitsu.com>
Sat, 29 Oct 2022 03:05:53 +0000 (11:05 +0800)
committerZorro Lang <zlang@kernel.org>
Thu, 3 Nov 2022 05:48:01 +0000 (13:48 +0800)
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
30 files changed:
tests/generic/099
tests/generic/105
tests/generic/193
tests/generic/237
tests/generic/314
tests/generic/318
tests/generic/319
tests/generic/355
tests/generic/362
tests/generic/363
tests/generic/364
tests/generic/365
tests/generic/366
tests/generic/367
tests/generic/368
tests/generic/369
tests/generic/370
tests/generic/375
tests/generic/444
tests/generic/673
tests/generic/674
tests/generic/683
tests/generic/684
tests/generic/685
tests/generic/686
tests/generic/687
tests/overlay/004
tests/overlay/008
tests/overlay/015
tests/overlay/023

index 5cdac9abc42a8908cae06ff2b3039707be25d9f7..eab6f4723b7edd8d67d125e8a0b049abf2e197c8 100755 (executable)
@@ -8,7 +8,7 @@
 #
 #!/bin/bash
 . ./common/preamble
-_begin_fstest acl auto quick
+_begin_fstest acl auto quick perms
 
 # Import common functions.
 . ./common/filter
index b422ea349344492949c12181a7cd6fb4b7081e3d..a05219df0967a4c0567383799b277d7c0436cb7e 100755 (executable)
@@ -10,7 +10,7 @@
 #   which pulls out an earlier mod
 #
 . ./common/preamble
-_begin_fstest acl auto quick
+_begin_fstest acl auto quick perms
 
 # Override the default cleanup function.
 _cleanup()
index ddaff69bfda64d3d15aa58593e9be12642e6c6a2..e2710b07d432d709e88d875fa9cb0f0c6ab6636b 100755 (executable)
@@ -7,7 +7,7 @@
 # Test permission checks in ->setattr
 #
 . ./common/preamble
-_begin_fstest metadata auto quick
+_begin_fstest metadata auto quick perms
 
 _register_cleanup "_cleanup_files"
 tag="added by qa $seq"
index f17e32e47c3258e82a079a3720c74635959440fa..a12a425907c51068274681bdedbe0713abb36589 100755 (executable)
@@ -8,7 +8,7 @@
 # See also http://marc.info/?l=linux-btrfs&m=127434445620298&w=2
 #
 . ./common/preamble
-_begin_fstest auto quick acl
+_begin_fstest auto quick acl perms
 
 # Import common functions.
 . ./common/filter
index 68a2f71648409c82b7e6487edf0ae2ac35e4997e..9449d30faf542d876af9077b646456044be9de63 100755 (executable)
@@ -7,7 +7,7 @@
 # Test SGID inheritance on subdirectories
 #
 . ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick perms
 
 # Import common functions.
 . ./common/filter
index ed50818ab2b30ba1dc451e49d8ea5ad3ad360fd7..71ee76666700a2cdc8cc34212d8ba0b58294c802 100755 (executable)
@@ -13,7 +13,7 @@
 # the ACL was flushed and brought back from disk.
 #
 . ./common/preamble
-_begin_fstest acl attr auto quick
+_begin_fstest acl attr auto quick perms
 
 # Override the default cleanup function.
 _cleanup()
index 082d93bcd736b4f66aac5422e233f67abd3953fc..0efb46bed71752b095b97222144b5d2b14c03541 100755 (executable)
@@ -12,7 +12,7 @@
 #     https://patchwork.kernel.org/patch/3046931/
 #
 . ./common/preamble
-_begin_fstest acl auto quick
+_begin_fstest acl auto quick perms
 
 # Import common functions.
 . ./common/filter
index 4bc69eeb3ed5efa55238cc58a08039037805ad0b..7c108d1b82b3ede26c0cabdcd9ee2afbe0143404 100755 (executable)
@@ -7,7 +7,7 @@
 # Test clear of suid/sgid on direct write.
 #
 . ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick perms
 
 # Import common functions.
 . ./common/filter
index dcd0a27bfad06608a5d52afe2c99754917438df7..6e0e81edfd25af02287b863beb5d99d3333ad150 100755 (executable)
@@ -7,7 +7,7 @@
 # RichACL apply-masks test
 #
 . ./common/preamble
-_begin_fstest auto quick richacl
+_begin_fstest auto quick richacl perms
 
 # Import common functions.
 
index 8a4418696f703c80a67fe2ae1644fc08f6b3ff37..d3d888dbefb5c2778468966f0983ae9743fc14ad 100755 (executable)
@@ -7,7 +7,7 @@
 # RichACL auto-inheritance test
 #
 . ./common/preamble
-_begin_fstest auto quick richacl
+_begin_fstest auto quick richacl perms
 
 # Import common functions.
 
index 538c0eb19f9d7c5fe2d89cc3d7eea3da06ccee16..2c721fea202c994b90a7257e9a9dbe5f4e0ae369 100755 (executable)
@@ -7,7 +7,7 @@
 # RichACL basic test
 #
 . ./common/preamble
-_begin_fstest auto quick richacl
+_begin_fstest auto quick richacl perms
 
 # Import common functions.
 . ./common/attr
index 21f31b86392922d68ea2b727f27e84d84b6ed47d..d22f233a61a824316074765beeab12e55bc58b44 100755 (executable)
@@ -7,7 +7,7 @@
 # RichACL chmod test
 #
 . ./common/preamble
-_begin_fstest auto quick richacl
+_begin_fstest auto quick richacl perms
 
 # Import common functions.
 
index e59691144e161e45c0f1820405a11d11f8d121ca..c005f8097474e22770a7b4c10f6cf57845fd4ef3 100755 (executable)
@@ -7,7 +7,7 @@
 # RichACL chown test
 #
 . ./common/preamble
-_begin_fstest auto quick richacl
+_begin_fstest auto quick richacl perms
 
 # Import common functions.
 
index bed4521585a8c5e990c27baa3fea133f7aad4576..db7b2956f67382bed32a532a856cb16addeedc98 100755 (executable)
@@ -7,7 +7,7 @@
 # RichACL create test
 #
 . ./common/preamble
-_begin_fstest auto quick richacl
+_begin_fstest auto quick richacl perms
 
 # Import common functions.
 
index 4b18e9f0aa7e53adea78ef6887d1695db8ef834d..d2259b348f45d7a8cdc05bf4913d5ead84001180 100755 (executable)
@@ -7,7 +7,7 @@
 # RichACL ctime test
 #
 . ./common/preamble
-_begin_fstest auto quick richacl
+_begin_fstest auto quick richacl perms
 
 # Import common functions.
 
index dbd2010510a7e1f9b54fe5e2fa2b943b181a6461..526de2443a401a51b59c23073172c305db295bfa 100755 (executable)
@@ -7,7 +7,7 @@
 # RichACL delete test
 #
 . ./common/preamble
-_begin_fstest auto quick richacl
+_begin_fstest auto quick richacl perms
 
 # Import common functions.
 
index acb0f424d7101ade4a42e117a3801b3efd9a493f..8c17af0ce723ac353fda7ecd3442775d8633c08a 100755 (executable)
@@ -7,7 +7,7 @@
 # RichACL write-vs-append test
 #
 . ./common/preamble
-_begin_fstest auto quick richacl
+_begin_fstest auto quick richacl perms
 
 # Import common functions.
 
index 746cdd5586db7532b3910bfcb8311b85eb102012..438184b3081b53dce95329650dc6404c9fe9e2a6 100755 (executable)
@@ -8,7 +8,7 @@
 # owning group.
 #
 . ./common/preamble
-_begin_fstest auto quick acl
+_begin_fstest auto quick acl perms
 
 # Import common functions.
 . ./common/filter
index 8f6b7c2c77ca33c82125d304c8b3be46ae0bd7d2..71d2f6af036567ce3beaf88f97a77f0f0a666b52 100755 (executable)
@@ -8,7 +8,7 @@
 # in the owning group and directory has default ACLs.
 #
 . ./common/preamble
-_begin_fstest auto quick acl
+_begin_fstest auto quick acl perms
 
 # Import common functions.
 . ./common/filter
index 4d8dc07edf8362d024cd2829f1790474200d42f0..6d1f49ea8074b3cc03ccfba512e0fa024d555026 100755 (executable)
@@ -7,7 +7,7 @@
 # Functional test for dropping suid and sgid bits as part of a reflink.
 #
 . ./common/preamble
-_begin_fstest auto clone quick
+_begin_fstest auto clone quick perms
 
 # Import common functions.
 . ./common/filter
index a31302496d0fc9b711aef86e6180c5492701658a..c3ff1b7bc3815e91dd8785b4fe5d1757704ca09d 100755 (executable)
@@ -7,7 +7,7 @@
 # Functional test for dropping suid and sgid bits as part of a deduplication.
 #
 . ./common/preamble
-_begin_fstest auto clone quick
+_begin_fstest auto clone quick perms
 
 # Import common functions.
 . ./common/filter
index 4c93346d07bddcd9bb6f553f59d7e4994c0ae84a..302f8bb21b5da22e0478a08e70e582f5ec694663 100755 (executable)
@@ -7,7 +7,7 @@
 # Functional test for dropping suid and sgid bits as part of a fallocate.
 #
 . ./common/preamble
-_begin_fstest auto clone quick
+_begin_fstest auto clone quick perms
 
 # Override the default cleanup function.
 _cleanup()
index 03481e69004e93a41e1dac5ebe34ad6fd3fffed3..19ccb22858c4c4b6abdd5a635bdc535633a0c310 100755 (executable)
@@ -7,7 +7,7 @@
 # Functional test for dropping suid and sgid bits as part of a fpunch.
 #
 . ./common/preamble
-_begin_fstest auto clone quick
+_begin_fstest auto clone quick perms
 
 # Override the default cleanup function.
 _cleanup()
index 6a108842776eadcacb486b1bad89d3f4f26732e6..a58eccdafe8a620b2b323a506a03374e91070435 100755 (executable)
@@ -7,7 +7,7 @@
 # Functional test for dropping suid and sgid bits as part of a fzero.
 #
 . ./common/preamble
-_begin_fstest auto clone quick
+_begin_fstest auto clone quick perms
 
 # Override the default cleanup function.
 _cleanup()
index 4279f76bcf3025220b67943b2819e2e1cb5e0b75..ef9ea47afb69d7c1d1e2e3799e68b21476c9dc4b 100755 (executable)
@@ -7,7 +7,7 @@
 # Functional test for dropping suid and sgid bits as part of a finsert.
 #
 . ./common/preamble
-_begin_fstest auto clone quick
+_begin_fstest auto clone quick perms
 
 # Override the default cleanup function.
 _cleanup()
index 78cb620291a936d8b1b686a200b5ceb7a86269cc..f4a1c1bb42356877dc764ffb4403f5f766ce5066 100755 (executable)
@@ -7,7 +7,7 @@
 # Functional test for dropping suid and sgid bits as part of a fcollapse.
 #
 . ./common/preamble
-_begin_fstest auto clone quick
+_begin_fstest auto clone quick perms
 
 # Override the default cleanup function.
 _cleanup()
index 54ce8a8f868d59b4dddc5899216e434e5599bec6..f03f628a796a2b5e962fa6ef6f9e7b5dab5747f5 100755 (executable)
@@ -7,7 +7,7 @@
 # Test file copy up on overlayfs by changing mode bits.
 #
 . ./common/preamble
-_begin_fstest attr auto copyup quick
+_begin_fstest attr auto copyup quick perms
 
 # Import common functions.
 . ./common/filter
index d14f22f26475def2e126c3842cb27acba01ce09a..7bab4fbef4cf7000fe9543cf77fb6c6a2458cebc 100755 (executable)
@@ -11,7 +11,7 @@
 # d0e13f5 ovl: fix uid/gid when creating over whiteout
 #
 . ./common/preamble
-_begin_fstest auto quick whiteout
+_begin_fstest auto quick whiteout perms
 
 # Import common functions.
 . ./common/filter
index fd23e373f055d08d42152329f34463af7e61066d..f0c05579725dd651dbb1af4976958d3aa0120149 100755 (executable)
@@ -7,7 +7,7 @@
 # SGID bit inheritance over whiteout.
 #
 . ./common/preamble
-_begin_fstest auto quick whiteout
+_begin_fstest auto quick whiteout perms
 
 # Import common functions.
 . ./common/filter
index 95d5aa223cdbbaf6562ce30994463b4e1220e2d3..740c47c1d2dd2de59c849a583215ae514a06ce81 100755 (executable)
@@ -14,7 +14,7 @@
 #     Miklos Szeredi <mszeredi@redhat.com>
 #
 . ./common/preamble
-_begin_fstest auto quick attr
+_begin_fstest auto quick attr perms
 
 # Import common functions.
 . ./common/filter