From nobody Mon Feb 9 19:54:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=virtuozzo.com ARC-Seal: i=1; a=rsa-sha256; t=1560105723; cv=none; d=zoho.com; s=zohoarc; b=RNmkhztTy2agEiMYaV0bDL8dWFTDdY3X6vRW6U64f5aH1WEDqJYBTY/rfrbj5NTr35ntC/ZQSMx9jMRdulzyzJAq3WsKpAP+cTtjagUOqSYarTZmUWb21pte4zOIILblAB0Y8vQ7z+mB02PPcpV53cAbw85WKJL46J82BngpwTg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560105723; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=n9lU6m+6QcENQBvrED3vuXl8gH8xHeQJzTn3pOkwqLc=; b=AKaZQUQcnFJOPvLgPVrcdgI55+IdpKhMhk078XV8dIpenXgd6CMTrGPR8JdrkZ1FH5MtIK+oB7IIcQFH0SQgD5vEmCJJcws3n4tIgGSOayjscjGS3dgtxvphlxrGcMOxOFfP6aSEBIToBHFI4ekeZzDMcy4TUE5WM7O3FmFJJGw= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1560105723358754.9202769846695; Sun, 9 Jun 2019 11:42:03 -0700 (PDT) Received: from localhost ([::1]:37446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha2lL-0000c8-G3 for importer@patchew.org; Sun, 09 Jun 2019 14:41:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49266) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha2fc-0004Rm-8f for qemu-devel@nongnu.org; Sun, 09 Jun 2019 14:35:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ha2fa-00064t-Tb for qemu-devel@nongnu.org; Sun, 09 Jun 2019 14:35:56 -0400 Received: from relay.sw.ru ([185.231.240.75]:47574) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ha2fa-00062U-Jj; Sun, 09 Jun 2019 14:35:54 -0400 Received: from [172.16.25.136] (helo=localhost.sw.ru) by relay.sw.ru with esmtp (Exim 4.91) (envelope-from ) id 1ha2fW-00087U-Qh; Sun, 09 Jun 2019 21:35:51 +0300 From: Andrey Shinkevich To: qemu-devel@nongnu.org, qemu-block@nongnu.org Date: Sun, 9 Jun 2019 21:35:45 +0300 Message-Id: <1560105348-459129-5-git-send-email-andrey.shinkevich@virtuozzo.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1560105348-459129-1-git-send-email-andrey.shinkevich@virtuozzo.com> References: <1560105348-459129-1-git-send-email-andrey.shinkevich@virtuozzo.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 185.231.240.75 Subject: [Qemu-devel] [PATCH 4/7] iotests: Valgrind fails to work with nonexistent directory X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, vsementsov@virtuozzo.com, mreitz@redhat.com, rkagan@virtuozzo.com, andrey.shinkevich@virtuozzo.com, den@openvz.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The Valgrind uses the exported variable TMPDIR and fails if the directory does not exist. Let us exclude such a test case from being run under the Valgrind. Signed-off-by: Andrey Shinkevich --- tests/qemu-iotests/051 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051 index 200660f..ccc5bc2 100755 --- a/tests/qemu-iotests/051 +++ b/tests/qemu-iotests/051 @@ -377,6 +377,7 @@ printf %b "qemu-io $device_id \"write -P 0x33 0 4k\"\nc= ommit $device_id\n" | $QEMU_IO -c "read -P 0x33 0 4k" "$TEST_IMG" | _filter_qemu_io =20 # Using snapshot=3Don with a non-existent TMPDIR +VALGRIND_QEMU=3D"" \ TMPDIR=3D/nonexistent run_qemu -drive driver=3Dnull-co,snapshot=3Don =20 # Using snapshot=3Don together with read-only=3Don --=20 1.8.3.1