qemu-iotests: get rid of $iam
The variable is almost unused, and one of the two uses is actually uninitialized. 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
8f4dcaba9b
commit
4e670492ef
|
@ -30,12 +30,9 @@ interrupt=true
|
||||||
# by default don't output timestamps
|
# by default don't output timestamps
|
||||||
timestamp=${TIMESTAMP:=false}
|
timestamp=${TIMESTAMP:=false}
|
||||||
|
|
||||||
# generic initialization
|
|
||||||
iam=check
|
|
||||||
|
|
||||||
_init_error()
|
_init_error()
|
||||||
{
|
{
|
||||||
echo "$iam: $1" >&2
|
echo "check: $1" >&2
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ poke_file()
|
||||||
|
|
||||||
if ! . ./common.config
|
if ! . ./common.config
|
||||||
then
|
then
|
||||||
echo "$iam: failed to source common.config"
|
echo "$0: failed to source common.config"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue