diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-23 11:42:21 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:21 -0600 |
commit | 3a53cdcc843ae4c99476a8e28740dc12a9d4d70a (patch) | |
tree | b7d1f00a98079c66ece3fc5aa295951d980d8622 /tests | |
parent | 9a9f2c61dba65cc3e98ca411254f93be779d6d34 (diff) | |
download | hqemu-3a53cdcc843ae4c99476a8e28740dc12a9d4d70a.zip hqemu-3a53cdcc843ae4c99476a8e28740dc12a9d4d70a.tar.gz |
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>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/check-block.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check-block.sh b/tests/check-block.sh index b9d9c6a..a37797a 100755 --- a/tests/check-block.sh +++ b/tests/check-block.sh @@ -9,7 +9,7 @@ if [ ! -x $QEMU_PROG ]; then exit 1 fi -cd $SRC_PATH/tests/qemu-iotests +cd tests/qemu-iotests ret=0 ./check -T -nocache -raw || ret=1 |