qemu.tests: readonly_floppy testcase
KVM readonly_floppy test: 1) pre_command on the host to generate the floppy media : "dd if=images/fd1.img bs=512 count=2880 && dd if=images/fd2.img bs=512 count=2880" 2) Boot and login into a guest; 3) If the OS is linux, load the floppy module, or if it is a Windows,wait 20s until the floppies are ready to be used 4) Make filesystem against the floppy and reads the output of the command,check if there is 'Read-only'(for linux) or 'protected'(for windows) keyword,if not,fail the test; 5) Close session to the VM Signed-off-by: Nyacui <yacui@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com> Acked-by: NAmos Kong <akong@redhat.com> Update the wait_for_login() interface up to date in readonly floppy to ignore the login easily failed problem. Signed-off-by: NYiqiao Pu <ypu@redhat.com> Acked-by: NQingtang Zhou <qzhou@redhat.com> Fix typo error in readonly_floppy case Signed-off-by: NXu Tian <xutian@redhat.com>
Showing
qemu/tests/readonly_floppy.py
0 → 100644
想要评论请 注册 或 登录