From nobody Wed Feb 11 06:56:55 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; dkim=fail; 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=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1557422379; cv=none; d=zoho.com; s=zohoarc; b=RDb5Ywt0HBVl4YbirkXlrnXEGHAtVE/b+aLtpY6/2zJuk1juY4105S8bWuZ8PbrKOFe4e1CGhcWtbxl7lI0xVlbSpvhumwJNMoJJyNyWsa5QLn+sAMiEsKHPsAMobxXDjM0WWVchpAYH9jGwKO/6soLfcOxvj96nSDlxTTtc2Po= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557422379; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=muJ0lhsFZDTe5BSnwOJzWaWmbULUUdO9c3pN21PKLLc=; b=oPukezQpFo4nP2sxEBQAQxyXvdvaual7Cimr4aMNrNe0MEWokiLK2RfjODJkwaDrYOLNGi7Jrsw3GzzJ//9mNGqz4X4k7zoqvPy1dL/emUdAQwGWf1aGrbMMjqgSAjusTtCUg/eKp+xdyH60evrBzIrU6PgLJJT2dq8wBsxOuHU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; 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 (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1557422379669443.5901813182552; Thu, 9 May 2019 10:19:39 -0700 (PDT) Received: from localhost ([127.0.0.1]:58309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOmhg-0007jp-Fz for importer@patchew.org; Thu, 09 May 2019 13:19:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOmU6-0003oV-T5 for qemu-devel@nongnu.org; Thu, 09 May 2019 13:05:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOmU4-0008Ci-LU for qemu-devel@nongnu.org; Thu, 09 May 2019 13:05:30 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:56074) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOmU4-00086D-B5 for qemu-devel@nongnu.org; Thu, 09 May 2019 13:05:28 -0400 Received: by mail-wm1-x32c.google.com with SMTP id y2so4152735wmi.5 for ; Thu, 09 May 2019 10:05:22 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a184sm3939204wmh.36.2019.05.09.10.05.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 May 2019 10:05:20 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 609E41FFA3; Thu, 9 May 2019 17:59:13 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=muJ0lhsFZDTe5BSnwOJzWaWmbULUUdO9c3pN21PKLLc=; b=zeaxHLxxcJQveWOqTBef0MWfX70Bj7Y1sFIH5+gmKF3irTA9bmFTKeNHKbKrBC5Dym OTwYpa10ks0jhN0KHt5p+htPZVJIXyj7pdLAi5n5fvd0GoWhnozmD37SdayOESID47gj yzpuhulsGC8IQ+1F/19VZsuUGnxfSJIw/iV1fwZrR76WmKnH0v8b/AKAYxTeKz50l9b2 cZSd4nO1ZWx2k1twx/Yc+2YgXfMPF2h4NjMm0VTm9bhlkT+oVwkI6sM5DGCylC0jzaIU 3ZtL7AMbyOInLJJ8AE3TAHqEUV5LVSiSD9inSe5oL37vx8VedSmPXp6wYA1p+lFAwdfM K9sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=muJ0lhsFZDTe5BSnwOJzWaWmbULUUdO9c3pN21PKLLc=; b=GqCvU8c6e/fWRpUsgpKJQ8sT+jZrOGKRtCPJ5o32MwPXQq1vtDnOuB0GZmqNaVPB/W DezxH2Wh2VELqGcchlsYK3IfwyDIi6WaDefFuy/eQR8bNn3sY4NyfmjFyWLp4khX7Wxh 5DVnBVmXlU7bjcSCC3FwUoE63cOwDpIsp9Up3ZVUkbzv1aMt/oJtbebxX9cFZOT+8GxJ 2n+jEuPG7aqBx8bt4Q5Vi1z6R8oV3mcAtsdXMJ6qa3YCtCsXYj3DXwzozQOb0nAKky/3 73jcH7O2Icphj3Jror/AaLPEmEu/xBHpzVjf9iX1jvSejvjNsWu7HJYmhF9P6tplSlCU T+BA== X-Gm-Message-State: APjAAAUAIYaPoQFexBy3k/mV+fy6NZVPApP8iQHECkbzaOxARcergGNE HnNXHPvw1XQofBXgHc1aafeibw== X-Google-Smtp-Source: APXvYqyvOjaClIcV1sYTaUvLOlWqkYiD3UmmLAnsvG4P8abeM/e5j5OU36HlSaA4qwFqzEcx7JF/0w== X-Received: by 2002:a05:600c:552:: with SMTP id k18mr3743590wmc.67.1557421521849; Thu, 09 May 2019 10:05:21 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 9 May 2019 17:59:04 +0100 Message-Id: <20190509165912.10512-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190509165912.10512-1-alex.bennee@linaro.org> References: <20190509165912.10512-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32c Subject: [Qemu-devel] [PATCH v1 16/23] tests/qemu-iotests/005: Add a sanity check for large sparse file support 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: Kevin Wolf , Thomas Huth , "open list:Block layer core" , Max Reitz , qemu-arm@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Thomas Huth "check -raw 005" fails when running on certain filesystems - these do not support such large sparse files. Use the same check as in test 220 to skip the test in this case. Suggested-by: Eric Blake Reviewed-by: Eric Blake Signed-off-by: Thomas Huth Message-Id: <20190502084506.8009-2-thuth@redhat.com> Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- tests/qemu-iotests/005 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/qemu-iotests/005 b/tests/qemu-iotests/005 index 2fef63af882..9c7681c19bc 100755 --- a/tests/qemu-iotests/005 +++ b/tests/qemu-iotests/005 @@ -55,6 +55,15 @@ if [ "$IMGPROTO" =3D "sheepdog" ]; then _notrun "image protocol $IMGPROTO does not support large image sizes" fi =20 +# Sanity check: For raw, we require a file system that permits the creation +# of a HUGE (but very sparse) file. Check we can create it before continui= ng. +if [ "$IMGFMT" =3D "raw" ]; then + if ! truncate --size=3D5T "$TEST_IMG"; then + _notrun "file system on $TEST_DIR does not support large enough fi= les" + fi + rm "$TEST_IMG" +fi + echo echo "creating large image" _make_test_img 5000G --=20 2.20.1