qemu-iotests: make check-block.sh work on out-of-tree builds
commit7467d94cc43d3bea91160dba6ad42c07da217219
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Dec 2015 10:42:21 +0000 (23 11:42 +0100)
committerMax Reitz <mreitz@redhat.com>
Thu, 7 Jan 2016 20:30:16 +0000 (7 21:30 +0100)
tree4919eeec03cd8f7c00d842ebce0c84a99530793a
parent253597d8cf23a16bfed9eaf07f49827c992bdc00
qemu-iotests: make check-block.sh work on out-of-tree builds

Since check-block.sh, the "check" script has learnt to find the source
path.  On the other hand, it expects common.env to be in the build tree
(both changes made in commit 76c7560, "configure: Enable out-of-tree
iotests", 2014-05-24).  So, it is wrong to invoke "check" from the source
path like check-block.sh does.  Fix it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1450867341-11100-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/check-block.sh