qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

test-block (449B)


      1 #!/bin/bash
      2 #
      3 # Run block test cases
      4 #
      5 # Copyright 2017 Red Hat Inc.
      6 #
      7 # Authors:
      8 #  Fam Zheng <famz@redhat.com>
      9 #
     10 # This code is licensed under the GPL version 2 or later.  See
     11 # the COPYING file in the top-level directory.
     12 
     13 . ./common.rc
     14 
     15 cd "$BUILD_DIR"
     16 
     17 build_qemu --target-list=x86_64-softmmu || test_fail "Build failed"
     18 cd tests/qemu-iotests
     19 for t in raw qcow2 nbd luks; do
     20     ./check -g quick -$t || test_fail "Test failed: iotests $t"
     21 done