mirror of https://github.com/xemu-project/xemu.git
qemu-iotests: fix uninitialized variable
The variable is used in "common" but defined only after the file is sourced. 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
cce293a294
commit
8f4dcaba9b
|
@ -77,8 +77,6 @@ fi
|
||||||
|
|
||||||
TIMESTAMP_FILE=check.time-$IMGPROTO-$IMGFMT
|
TIMESTAMP_FILE=check.time-$IMGPROTO-$IMGFMT
|
||||||
|
|
||||||
tmp="${TEST_DIR}"/$$
|
|
||||||
|
|
||||||
_wallclock()
|
_wallclock()
|
||||||
{
|
{
|
||||||
date "+%H %M %S" | awk '{ print $1*3600 + $2*60 + $3 }'
|
date "+%H %M %S" | awk '{ print $1*3600 + $2*60 + $3 }'
|
||||||
|
|
|
@ -67,6 +67,8 @@ sortme=false
|
||||||
expunge=true
|
expunge=true
|
||||||
have_test_arg=false
|
have_test_arg=false
|
||||||
cachemode=false
|
cachemode=false
|
||||||
|
|
||||||
|
tmp="${TEST_DIR}"/$$
|
||||||
rm -f $tmp.list $tmp.tmp $tmp.sed
|
rm -f $tmp.list $tmp.tmp $tmp.sed
|
||||||
|
|
||||||
export IMGFMT=raw
|
export IMGFMT=raw
|
||||||
|
|
Loading…
Reference in New Issue