Skip to content

Commit

Permalink
iotests: Source common.env
Browse files Browse the repository at this point in the history
Source common.env in the iotests' check script.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
XanClic authored and kevmw committed Jun 27, 2014
1 parent 76c7560 commit 7fed1a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/qemu-iotests/check
Expand Up @@ -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
Expand Down

0 comments on commit 7fed1a4

Please sign in to comment.