From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0bXM-0005pN-GK for qemu-devel@nongnu.org; Fri, 27 Jun 2014 15:10:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0bXG-0007KE-Dh for qemu-devel@nongnu.org; Fri, 27 Jun 2014 15:10:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0bXG-0007JT-0t for qemu-devel@nongnu.org; Fri, 27 Jun 2014 15:10:10 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5RJA96K003439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 27 Jun 2014 15:10:09 -0400 From: Kevin Wolf Date: Fri, 27 Jun 2014 21:09:03 +0200 Message-Id: <1403896146-3063-45-git-send-email-kwolf@redhat.com> In-Reply-To: <1403896146-3063-1-git-send-email-kwolf@redhat.com> References: <1403896146-3063-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PULL 44/47] iotests: Source common.env List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com From: Max Reitz Source common.env in the iotests' check script. Signed-off-by: Max Reitz Signed-off-by: Kevin Wolf --- 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.8.3.1