mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common/rc: skip atime related tests on CIFS
From the feedback of cifs developer, the behaviour of atime/noatime for cifs is basically noatime always. So the atime related mount options have no effect on cifs mounts. And Skip these tests on CIFS. Signed-off-by: xiaoli feng <xifeng@redhat.com> Acked-by: Steve French <smfrench@gmail.com> Acked-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -3243,9 +3243,12 @@ _exclude_scratch_mount_option()
|
||||
_require_atime()
|
||||
{
|
||||
_exclude_scratch_mount_option "noatime"
|
||||
if [ "$FSTYP" == "nfs" ]; then
|
||||
_notrun "atime related mount options have no effect on NFS"
|
||||
fi
|
||||
case $FSTYP in
|
||||
nfs|cifs)
|
||||
_notrun "atime related mount options have no effect on $FSTYP"
|
||||
;;
|
||||
esac
|
||||
|
||||
}
|
||||
|
||||
_require_relatime()
|
||||
|
||||
Reference in New Issue
Block a user