From 3817ce03bf3373065c25e389ecb7f23a511ebcdc Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 12 Sep 2017 16:44:55 +0200 Subject: qemu-iotests: do not include common.rc in "check" It only provides functions used by the test programs. Signed-off-by: Paolo Bonzini Reviewed-by: Eric Blake Signed-off-by: Kevin Wolf --- tests/qemu-iotests/common.rc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'tests/qemu-iotests/common.rc') diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index e7f74b4dbd..20f6821a69 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -40,14 +40,11 @@ poke_file() printf "$3" | dd "of=$1" bs=1 "seek=$2" conv=notrunc &>/dev/null } -# we need common.config -if [ "$iam" != "check" ] -then - if ! . ./common.config - then - echo "$iam: failed to source common.config" - exit 1 - fi + +if ! . ./common.config + then + echo "$iam: failed to source common.config" + exit 1 fi _qemu_wrapper() -- cgit v1.2.3