]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qemu-iotests/common
qemu-iotests: filter IMGFMT correctly in 019
[mirror_qemu.git] / tests / qemu-iotests / common
index 360b058e35baafef89b2f48e6a6e51993722a755..d95ba4cddcf3d07b595d297c5bd6996ba3faed35 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh 
+#!/bin/bash
 #
 # Copyright (C) 2009 Red Hat, Inc.
 # Copyright (c) 2000-2005 Silicon Graphics, Inc.  All Rights Reserved.
@@ -13,8 +13,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write the Free Software Foundation,
-# Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #
 # common procedures for QA scripts
@@ -120,6 +119,7 @@ check options
     -cow                test cow
     -qcow               test qcow
     -qcow2              test qcow2
+    -qed                test qed
     -vdi                test vdi
     -vpc                test vpc
     -vmdk               test vmdk
@@ -159,6 +159,11 @@ testlist options
            xpand=false
            ;;
 
+       -qed)
+           IMGFMT=qed
+           xpand=false
+           ;;
+
        -vdi)
            IMGFMT=vdi
            xpand=false