diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2010-04-26 11:44:05 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2010-04-26 11:44:05 +0200 |
commit | 3e991a528191937a3665d04bc8f6eba50b635ff5 (patch) | |
tree | bb05894dbb1e963c7930fffb58a0c966c9259c44 | |
parent | 116f686d17dd4bade2d5a2bf533ed3b53bc0f5be (diff) | |
download | qemu-iotests-3e991a528191937a3665d04bc8f6eba50b635ff5.tar.gz |
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>
-rwxr-xr-x | 001 | 2 | ||||
-rwxr-xr-x | 002 | 2 | ||||
-rwxr-xr-x | 003 | 2 | ||||
-rwxr-xr-x | 004 | 2 | ||||
-rwxr-xr-x | 005 | 2 | ||||
-rwxr-xr-x | 006 | 2 | ||||
-rwxr-xr-x | 007 | 2 | ||||
-rwxr-xr-x | 008 | 2 | ||||
-rwxr-xr-x | 009 | 2 | ||||
-rwxr-xr-x | 010 | 2 | ||||
-rwxr-xr-x | 011 | 2 | ||||
-rwxr-xr-x | 012 | 2 | ||||
-rwxr-xr-x | 013 | 2 | ||||
-rwxr-xr-x | 014 | 2 | ||||
-rwxr-xr-x | 015 | 2 | ||||
-rwxr-xr-x | 016 | 2 | ||||
-rwxr-xr-x | 017 | 2 | ||||
-rwxr-xr-x | 018 | 2 | ||||
-rwxr-xr-x | 019 | 2 | ||||
-rwxr-xr-x | 020 | 2 | ||||
-rwxr-xr-x | 021 | 2 | ||||
-rwxr-xr-x | 022 | 2 | ||||
-rwxr-xr-x | 023 | 2 | ||||
-rwxr-xr-x | 024 | 2 | ||||
-rwxr-xr-x | check | 2 | ||||
-rw-r--r-- | common | 2 | ||||
-rw-r--r-- | common.config | 2 | ||||
-rw-r--r-- | common.filter | 2 | ||||
-rw-r--r-- | common.pattern | 2 | ||||
-rw-r--r-- | common.rc | 2 |
30 files changed, 30 insertions, 30 deletions
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Test simple read/write using plain bdrv_read/bdrv_write # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Test simple read/write using plain bdrv_pread/bdrv_pwrite # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Test simple read/write using bdrv_aio_readv/bdrv_aio_writev # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Make sure we can't read and write outside of the image size. # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Make sure qemu-img can create 5TB images # @@ -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. @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Check for one possible case of qcow2 refcount corruption. # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Test simple asynchronous read/write operations. # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Nolan I qcow2 corruption - incorrectly reports free clusters # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Nolan II qcow2 corruption - wrong used cluster # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Test for AIO allocation on the same cluster # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Make sure we can open read-only images # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # qcow2 pattern test, empty and compressed image - 4k cluster patterns # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # qcow2 pattern test, complex patterns including compression and snapshots # Using patterns for 4k cluster size. @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Combined test to grow the refcount table and test snapshots. # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Test I/O after EOF for growable images. # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Simple backing file reads # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Merge backing file into test image when converting the image # @@ -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 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Commit changes to backing file # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Test handling of invalid patterns arguments to qemu-io # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Test bdrv_load/save_vmstate using the usual patterns # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # qcow2 pattern test with various cluster sizes # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Rebasing COW images # @@ -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. @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2009 Red Hat, Inc. # Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. diff --git a/common.config b/common.config index cbbf39d..bdd0530 100644 --- a/common.config +++ b/common.config @@ -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. diff --git a/common.filter b/common.filter index ba464a5..ce81266 100644 --- a/common.filter +++ b/common.filter @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2009 Red Hat, Inc. # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. diff --git a/common.pattern b/common.pattern index a40d0d0..c2b84b8 100644 --- a/common.pattern +++ b/common.pattern @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2009 Red Hat, Inc. # @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2009 Red Hat, Inc. # Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved. |