diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-02-29 13:25:20 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-02-29 15:48:44 +0100 |
commit | 049255b60c2bd95df09e3da9de0d9658b2ec4a98 (patch) | |
tree | d35b344b1af0b9403d2d6cc5fd4cd3f161dd5ae8 /tests/qemu-iotests | |
parent | c186402c444a9598a71da6aef1360f4171e57ad3 (diff) | |
download | qemu-049255b60c2bd95df09e3da9de0d9658b2ec4a98.tar.gz qemu-049255b60c2bd95df09e3da9de0d9658b2ec4a98.tar.bz2 qemu-049255b60c2bd95df09e3da9de0d9658b2ec4a98.zip |
qemu-iotests: export TEST_DIR for non-bash tests
Since qemu-iotests may need to create large image files it is possible
to specify the test directory. The TEST_DIR variable needs to be
exported so non-bash tests can make use of it.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rw-r--r-- | tests/qemu-iotests/common.config | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests/common.config index d07f435696..a220684b0f 100644 --- a/tests/qemu-iotests/common.config +++ b/tests/qemu-iotests/common.config @@ -121,6 +121,8 @@ if [ ! -d "$TEST_DIR" ]; then exit 1 fi +export TEST_DIR + _readlink() { if [ $# -ne 1 ]; then |