diff --git a/fs_mgr/tests/adb-remount-test.sh b/fs_mgr/tests/adb-remount-test.sh index c87e564c4..7ac7a1642 100755 --- a/fs_mgr/tests/adb-remount-test.sh +++ b/fs_mgr/tests/adb-remount-test.sh @@ -1233,6 +1233,12 @@ adb_sh grep -qE " (/system|/) [^ ]* rw," /proc/mounts &2 || die -t "${T}" "adb remount" @@ -1241,6 +1247,12 @@ adb_sh grep -qE " (/system|/) [^ ]* rw," /proc/mounts RW +RW=$(adb_sh grep " rw," /proc/mounts &2 for d in ${D}; do if adb_sh tune2fs -l "${d}" &1 | grep -q "Filesystem features:.*shared_blocks" || @@ -1319,6 +1323,10 @@ else is_overlayfs_mounted && die -t "${T}" "unexpected overlay takeover" fi +echo -n "${RW}" | + grep -v noatime && + die "mounts (rw) are not noatime" + LOG OK "adb remount RW" ################################################################################