[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/12] qemu-iotests: do not search for binaries in t
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 09/12] qemu-iotests: do not search for binaries in the current directory |
Date: |
Wed, 9 Aug 2017 23:55:07 +0200 |
Looking in the build root is enough.
Signed-off-by: Paolo Bonzini <address@hidden>
---
tests/qemu-iotests/check | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
index 5b9c0c8ade..e5d1ae3d92 100755
--- a/tests/qemu-iotests/check
+++ b/tests/qemu-iotests/check
@@ -86,17 +86,17 @@ then
fi
fi
-if [[ -z $QEMU_IMG_PROG && -x "$build_root/qemu-img" && ! -x './qemu-img' ]]
+if [[ -z $QEMU_IMG_PROG && -x "$build_root/qemu-img" ]]
then
export QEMU_IMG_PROG="$build_root/qemu-img"
fi
-if [[ -z $QEMU_IO_PROG && -x "$build_root/qemu-io" && ! -x './qemu-io' ]]
+if [[ -z $QEMU_IO_PROG && -x "$build_root/qemu-io" ]]
then
export QEMU_IO_PROG="$build_root/qemu-io"
fi
-if [[ -z $QEMU_NBD_PROG && -x "$build_root/qemu-nbd" && ! -x './qemu-nbd' ]]
+if [[ -z $QEMU_NBD_PROG && -x "$build_root/qemu-nbd" ]]
then
export QEMU_NBD_PROG="$build_root/qemu-nbd"
fi
--
2.13.3
- Re: [Qemu-devel] [PATCH 01/12] qemu-iotests: remove dead code, (continued)
- [Qemu-devel] [PATCH 04/12] qemu-iotests: limit non-_PROG-suffixed variables to common.rc, Paolo Bonzini, 2017/08/09
- [Qemu-devel] [PATCH 06/12] qemu-iotests: do not do useless search for QEMU_*_PROG, Paolo Bonzini, 2017/08/09
- [Qemu-devel] [PATCH 05/12] qemu-iotests: do not include common.rc in "check", Paolo Bonzini, 2017/08/09
- [Qemu-devel] [PATCH 08/12] qemu-iotests: fix uninitialized variable, Paolo Bonzini, 2017/08/09
- [Qemu-devel] [PATCH 07/12] qemu-iotests: disintegrate more parts of common.config, Paolo Bonzini, 2017/08/09
- [Qemu-devel] [PATCH 09/12] qemu-iotests: do not search for binaries in the current directory,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 10/12] qemu-iotests: get rid of $iam, Paolo Bonzini, 2017/08/09
- [Qemu-devel] [PATCH 11/12] qemu-iotests: include common.env and common.config early, Paolo Bonzini, 2017/08/09
- [Qemu-devel] [PATCH 12/12] qemu-iotests: merge "check" and "common", Paolo Bonzini, 2017/08/09