From patchwork Wed Aug 9 21:55:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 799998 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GJviJE7n"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xSQCB4Pm6z9sNd for ; Thu, 10 Aug 2017 07:59:02 +1000 (AEST) Received: from localhost ([::1]:50028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfZ0G-00050d-J5 for incoming@patchwork.ozlabs.org; Wed, 09 Aug 2017 17:59:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfYwn-0002SX-4G for qemu-devel@nongnu.org; Wed, 09 Aug 2017 17:55:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfYwl-0006XD-Qb for qemu-devel@nongnu.org; Wed, 09 Aug 2017 17:55:25 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:33249) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfYwl-0006WL-Jh; Wed, 09 Aug 2017 17:55:23 -0400 Received: by mail-wm0-x242.google.com with SMTP id q189so966090wmd.0; Wed, 09 Aug 2017 14:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=n3U2/pCF+VnmtN4+rYdW2p1fp4Pgh/pJNSOgTHV61bI=; b=GJviJE7nQHd5mYbApVPyekzrWKxplZJym/lIMruDa+vGRW7mu0wtR3LCaLVxMwgF9q pvqj0W+MO6z+FJ0B9GRcXzfvduBsFrR8gSsNrxJtBOc0gQ5KL88ebGsq8qn83ys2KqWi sNdEfRkQPNWsq0tX99gI9omdGilWNtzWP1zkSlqFMEJW3n/PS0lKSblI7gLIHAad1QjY oFxvghWhBq5zYjAZ8eV8WQZSp7iYo7DCtcRthk5V6kcheSgGmq/Txlal8Q7tgIN3A5KH 4OX880jvK6OuQZMAblM18wMsojAKJ8xDtu0IjHn0dsuXSuJ4+wj+VEBzRmjZrOd/PaLB T6+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=n3U2/pCF+VnmtN4+rYdW2p1fp4Pgh/pJNSOgTHV61bI=; b=fX5NMTVaLsW2D0jxSkiVv8TQG2QCcIhPhrIjEcm702mCGFg4JZjsJDz48tH71Gxja8 ilvM9KqbaP6ZGYQ/jX7+DGlYezTDTyrjQjQwy/fhpbJbup0cHlqRDLDpmXcuDuxjSzCi gfyZQLgoln1BWGLSJbWXSf13NjXs2rxKIq2+DD+9pGehO9lbr/ReICQHn+yrAqRA1qa6 H5HdgpN3iFsNId1FjfwymKQUugubQMGYHSxMjiBJ3V1VEble7EDvIpAZe57GIj4cZrG3 qiY4Q+vXgfLTd0wI661Yh1XoG7ZFkFcPZi5G9sNyr0Fw+BUde+aeNI6IVp2K2boH/vMp 5NBw== X-Gm-Message-State: AHYfb5i5qp5z0er8NmYCwjHFCAaLdQdFtD2SxUQZBeKoIePNGN+7oSRy 2jKv8+1n4T09KPJtq4o= X-Received: by 10.28.211.145 with SMTP id k139mr5835750wmg.130.1502315722340; Wed, 09 Aug 2017 14:55:22 -0700 (PDT) Received: from donizetti.lan (94-39-192-75.adsl-ull.clienti.tiscali.it. [94.39.192.75]) by smtp.gmail.com with ESMTPSA id v41sm4390478wrc.65.2017.08.09.14.55.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Aug 2017 14:55:21 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 9 Aug 2017 23:55:06 +0200 Message-Id: <20170809215510.22802-9-pbonzini@redhat.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170809215510.22802-1-pbonzini@redhat.com> References: <20170809215510.22802-1-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 Subject: [Qemu-devel] [PATCH 08/12] qemu-iotests: fix uninitialized variable X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, qemu-block@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The function is used in "common" but defined only after the file is sourced. Signed-off-by: Paolo Bonzini --- tests/qemu-iotests/check | 2 -- tests/qemu-iotests/common | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check index 1ef6d0ac3a..5b9c0c8ade 100755 --- a/tests/qemu-iotests/check +++ b/tests/qemu-iotests/check @@ -118,8 +118,6 @@ fi TIMESTAMP_FILE=check.time-$IMGPROTO-$IMGFMT -tmp="${TEST_DIR}"/$$ - _wallclock() { date "+%H %M %S" | awk '{ print $1*3600 + $2*60 + $3 }' diff --git a/tests/qemu-iotests/common b/tests/qemu-iotests/common index adf427501e..35e4d0f87b 100644 --- a/tests/qemu-iotests/common +++ b/tests/qemu-iotests/common @@ -80,6 +80,8 @@ sortme=false expunge=true have_test_arg=false cachemode=false + +tmp="${TEST_DIR}"/$$ rm -f $tmp.list $tmp.tmp $tmp.sed export IMGFMT=raw