common/rc: skip atime related tests on CIFS
[xfstests-dev.git] / common / rc
index a436497..f04c9ea 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -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()