mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
This harness has support for test on vm machines. It takes a base image and target image path, creates an update-enabled vm image from the base image and performs updates using cros_run_vm_update (vm wrapper around image_to_live). It uses --snapshot for updating vm's and keeps them on (like a real machine would) so that the VM image is clean on the next test. The current check in has two test cases -- updates without clobbering the stateful partition and updates with clobbering the stateful partition. Change-Id: I5406eadb39fa36601d17f8dd15625bd6a8b38c15 BUG=6911 TEST=Ran through tests. Review URL: http://codereview.chromium.org/3554002
Description
Languages
Shell
93.1%
Python
6.9%