diff options
author | Max Reitz | 2014-05-24 23:24:57 +0200 |
---|---|---|
committer | Kevin Wolf | 2014-06-27 20:00:00 +0200 |
commit | 7fed1a49ff72a5b794e3723612fa1731844b38f7 (patch) | |
tree | 25f7391c641751836919030c4cda88c0a75fd120 /tests/qemu-iotests | |
parent | configure: Enable out-of-tree iotests (diff) | |
download | qemu-7fed1a49ff72a5b794e3723612fa1731844b38f7.tar.gz qemu-7fed1a49ff72a5b794e3723612fa1731844b38f7.tar.xz qemu-7fed1a49ff72a5b794e3723612fa1731844b38f7.zip |
iotests: Source common.env
Source common.env in the iotests' check script.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rwxr-xr-x | tests/qemu-iotests/check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check index 69f328b57c..992b91e14a 100755 --- a/tests/qemu-iotests/check +++ b/tests/qemu-iotests/check @@ -103,6 +103,12 @@ then export QEMU_NBD_PROG="$build_root/qemu-nbd" fi +# we need common.env +if ! . "$build_iotests/common.env" +then + _init_error "failed to source common.env (make sure the qemu-iotests are run from tests/qemu-iotests in the build tree)" +fi + # we need common.config if ! . "$source_iotests/common.config" then |