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>
This commit is contained in:
Stefan Hajnoczi 2012-02-29 13:25:20 +00:00 committed by Kevin Wolf
parent c186402c44
commit 049255b60c
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,8 @@ if [ ! -d "$TEST_DIR" ]; then
exit 1
fi
export TEST_DIR
_readlink()
{
if [ $# -ne 1 ]; then