mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/{159,160}: require chattr instead of lsattr
The tests _require_test_lsattr, but don't actually use lsattr. They use chattr +i/-i, so require the appropriate command. _require_test_lsattr checks the FS_IOC_GETFLAGS ioctl on a directory and that is not supported in overlayfs. _require_chattr checks the ioctl on a file, which is supported in overlayfs, so this change makes the tests run and pass on overlayfs. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
c29a70330f
commit
b3c907888d
+1
-1
@@ -43,7 +43,7 @@ _cleanup()
|
||||
|
||||
# real QA test starts here
|
||||
_supported_os Linux
|
||||
_require_test_lsattr
|
||||
_require_chattr i
|
||||
_require_test_reflink
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ _cleanup()
|
||||
|
||||
# real QA test starts here
|
||||
_supported_os Linux
|
||||
_require_test_lsattr
|
||||
_require_chattr i
|
||||
_require_test_dedupe
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
Reference in New Issue
Block a user