mirror of https://gitee.com/openkylin/qemu.git
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:
parent
c186402c44
commit
049255b60c
|
@ -121,6 +121,8 @@ if [ ! -d "$TEST_DIR" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
export TEST_DIR
|
||||
|
||||
_readlink()
|
||||
{
|
||||
if [ $# -ne 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue