common/rc: skip atime related tests on CIFS
[xfstests-dev.git] / common / rc
index a4364972c4aa74561c8c085d3b045c11590243e1..f04c9ea2fd89db90256a2f11e0dddc09d42249aa 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()