verify_root_partition ===================== **Source code:** `verify_root_partition.py `_ Verifies the integrity of the root partition. Description ----------- The root partition may be modified during the factory process. If the disk is damaged or the flash process is broken, the root partition may also be wrong. Test Procedure -------------- This is an automatic test that doesn't need any user interaction. Dependency ---------- - Device API ``cros.factory.device.partitions``. - Device API ``cros.factory.device.toybox``. Examples -------- An example: .. test_list:: generic_storage_examples:StorageTests.VerifyRootPartition Test Arguments -------------- .. list-table:: :widths: 20 10 60 :header-rows: 1 :align: left * - Name - Type - Description * - kern_a_device - str, None - (optional; default: ``None``) Path to the device containing KERN-A partition * - root_device - str, None - (optional; default: ``None``) Path to the device containing rootfs partition * - max_bytes - int, None - (optional; default: ``None``) Maximum number of bytes to read