aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/check
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-09-12 16:44:57 +0200
committerKevin Wolf <kwolf@redhat.com>2017-10-06 16:28:58 +0200
commit8f4dcaba9bed36d067f2f2da1e2ceb9d1b50f2b2 (patch)
tree9994a0a4f6025a9002fbe81ba1d183e4646d4f8d /tests/qemu-iotests/check
parentcce293a29459e1fd5f74e55d87dc9c25991da578 (diff)
downloadqemu-8f4dcaba9bed36d067f2f2da1e2ceb9d1b50f2b2.zip
qemu-8f4dcaba9bed36d067f2f2da1e2ceb9d1b50f2b2.tar.gz
qemu-8f4dcaba9bed36d067f2f2da1e2ceb9d1b50f2b2.tar.bz2
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>
Diffstat (limited to 'tests/qemu-iotests/check')
-rwxr-xr-xtests/qemu-iotests/check2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
index e39680a..2d2ef68 100755
--- a/tests/qemu-iotests/check
+++ b/tests/qemu-iotests/check
@@ -77,8 +77,6 @@ fi
TIMESTAMP_FILE=check.time-$IMGPROTO-$IMGFMT
-tmp="${TEST_DIR}"/$$
-
_wallclock()
{
date "+%H %M %S" | awk '{ print $1*3600 + $2*60 + $3 }'