From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoJRm-0004MZ-N5 for qemu-devel@nongnu.org; Sat, 24 May 2014 17:25:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoJRg-0003PT-3L for qemu-devel@nongnu.org; Sat, 24 May 2014 17:25:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:65031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoJRf-0003PD-Ny for qemu-devel@nongnu.org; Sat, 24 May 2014 17:25:35 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4OLPZjJ017579 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 24 May 2014 17:25:35 -0400 From: Max Reitz Date: Sat, 24 May 2014 23:24:57 +0200 Message-Id: <1400966700-23165-4-git-send-email-mreitz@redhat.com> In-Reply-To: <1400966700-23165-1-git-send-email-mreitz@redhat.com> References: <1400966700-23165-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH v4 3/6] iotests: Source common.env List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Fam Zheng , Markus Armbruster , Max Reitz , Stefan Hajnoczi Source common.env in the iotests' check script. Signed-off-by: Max Reitz --- tests/qemu-iotests/check | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check index 69f328b..992b91e 100755 --- a/tests/qemu-iotests/check +++ b/tests/qemu-iotests/check @@ -103,6 +103,12 @@ then export QEMU_NBD_PROG="$build_root/qemu-nbd" fi +# we need common.env +if ! . "$build_iotests/common.env" +then + _init_error "failed to source common.env (make sure the qemu-iotests are run from tests/qemu-iotests in the build tree)" +fi + # we need common.config if ! . "$source_iotests/common.config" then -- 1.9.3