qemu-iotests: explicitly use bash interpreter

The tests use bash language features like 'let', which aren't supported
by /bin/sh on systems that use a conservative shell like dash.  This
patch changes the interpreter to /bin/bash.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Stefan Hajnoczi 2010-04-26 11:44:05 +02:00 committed by Kevin Wolf
parent 939e16407b
commit 908eaf6802
30 changed files with 30 additions and 30 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Test simple read/write using plain bdrv_read/bdrv_write
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Test simple read/write using plain bdrv_pread/bdrv_pwrite
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Test simple read/write using bdrv_aio_readv/bdrv_aio_writev
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Make sure we can't read and write outside of the image size.
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Make sure qemu-img can create 5TB images
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Make sure qemu-img rejects > 127GB images for the vpc format as the format
# doesn't support this.

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Check for one possible case of qcow2 refcount corruption.
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Test simple asynchronous read/write operations.
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Nolan I qcow2 corruption - incorrectly reports free clusters
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Nolan II qcow2 corruption - wrong used cluster
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Test for AIO allocation on the same cluster
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Make sure we can open read-only images
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# qcow2 pattern test, empty and compressed image - 4k cluster patterns
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# qcow2 pattern test, complex patterns including compression and snapshots
# Using patterns for 4k cluster size.

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Combined test to grow the refcount table and test snapshots.
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Test I/O after EOF for growable images.
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Simple backing file reads
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Merge backing file into test image when converting the image
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# When using a backing file for the output image in qemu-img convert,
# the backing file clusters must not copied. The data must still be

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Commit changes to backing file
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Test handling of invalid patterns arguments to qemu-io
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Test bdrv_load/save_vmstate using the usual patterns
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# qcow2 pattern test with various cluster sizes
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Rebasing COW images
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Copyright (C) 2009 Red Hat, Inc.
# Copyright (c) 2000-2002,2006 Silicon Graphics, Inc. All Rights Reserved.

View 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.

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Copyright (C) 2009 Red Hat, Inc.
# Copyright (c) 2000-2003,2006 Silicon Graphics, Inc. All Rights Reserved.

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Copyright (C) 2009 Red Hat, Inc.
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Copyright (C) 2009 Red Hat, Inc.
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Copyright (C) 2009 Red Hat, Inc.
# Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved.