qemu-iotests: do not include common.rc in "check"
It only provides functions used by the test programs. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d1f2447a3e
commit
3817ce03bf
@ -72,12 +72,6 @@ then
|
|||||||
_init_error "failed to source common.config"
|
_init_error "failed to source common.config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# we need common.rc
|
|
||||||
if ! . "$source_iotests/common.rc"
|
|
||||||
then
|
|
||||||
_init_error "failed to source common.rc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# we need common
|
# we need common
|
||||||
. "$source_iotests/common"
|
. "$source_iotests/common"
|
||||||
|
|
||||||
|
@ -40,14 +40,11 @@ poke_file()
|
|||||||
printf "$3" | dd "of=$1" bs=1 "seek=$2" conv=notrunc &>/dev/null
|
printf "$3" | dd "of=$1" bs=1 "seek=$2" conv=notrunc &>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
# we need common.config
|
|
||||||
if [ "$iam" != "check" ]
|
if ! . ./common.config
|
||||||
then
|
then
|
||||||
if ! . ./common.config
|
echo "$iam: failed to source common.config"
|
||||||
then
|
exit 1
|
||||||
echo "$iam: failed to source common.config"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_qemu_wrapper()
|
_qemu_wrapper()
|
||||||
|
Loading…
Reference in New Issue
Block a user