Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pP4do-0007Qa-A9 for mharc-grub-devel@gnu.org; Mon, 06 Feb 2023 11:46:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP4dm-0007Pt-Vz for grub-devel@gnu.org; Mon, 06 Feb 2023 11:46:51 -0500 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pP4dj-0004Vz-Uj for grub-devel@gnu.org; Mon, 06 Feb 2023 11:46:50 -0500 Received: by mail-qt1-x831.google.com with SMTP id x10so6494988qtr.2 for ; Mon, 06 Feb 2023 08:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=X2qSF39az1qpJAiUi+AY22Lblm17IjhaexiWvHmmLgk=; b=kZOfqZL9mFUaeXtEwIniBUQIJf48JDasQv4VN/JFteCvF2PJBuIjzcpHHNi9QZrmrt FBK8JUCn9NtCSIHq6EeESeD1VZVaNTsZHqFNeIZod8EGry+RPX90lWkgsOE4dupQOO6/ XuCwKiszUrGe6atdHlztZVtHNiWQIwazRxspWwKwaVwwfrAI8TiInL+vwYpZefNAn33b kPEvPReFlpDdqyRggjoWCE3tFFRvaR17e9usIaK70AyJT3NPB3naNFsLmJw6DEM5A70P KJIHxGEN67Cur6lmLVnV9FWXX2Tyo0SfXz8oA5GYbCgtupoZU98KSiycWfq3V6bozFy3 nZag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=X2qSF39az1qpJAiUi+AY22Lblm17IjhaexiWvHmmLgk=; b=ho7WNyQEHQVpOXgx3e/+YeyCvj4eg9zJvdbzBuP/YbtQ1nM1tG3Gn37gfFjGe1tIjp 5fAK853om+ZGPwRzOJ+mnSVBcmdSL4eYssjhtrt5aY51Y5zOD45FEVxrIR4QY27B833u sr/pAS2kH8BsXG69vsAZL1htwQP+dPCAmUbe318qOKIG2qpTY211WXIJNOX/pU7rBkLE wgOQg3CL27f1pGxg+H3tciak6T9AXYsMQ3VKWMgRafzfTi9QcEkAdgfR8NLkPaKCvhYf TDUnNDEjOjO9ohbV8u0LU4tr+ekXVfq5k8vHNTd2ZrUUturk9foohSwdPnQVNJsU5BCG jyEA== X-Gm-Message-State: AO0yUKXAKyPaZq+QEXt1tBSMciDF+TOtoNBdxewWAzPXt/60tRnm85UN rPggilGHowtj0vLQ/mePcLHqFA== X-Google-Smtp-Source: AK7set+W+CVZSK9+9DCFVYuV83dmkkNcejWmkgJkL2FVxv0JQlR4Ne3zbiekMdh4eKWdB6b/rNd62Q== X-Received: by 2002:ac8:5844:0:b0:3ba:138f:7b46 with SMTP id h4-20020ac85844000000b003ba138f7b46mr17062194qth.42.1675702005797; Mon, 06 Feb 2023 08:46:45 -0800 (PST) Received: from crass-HP-ZBook-15-G2 ([37.218.244.251]) by smtp.gmail.com with ESMTPSA id h21-20020a05620a285500b0070617deb4b7sm7604563qkp.134.2023.02.06.08.46.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 08:46:45 -0800 (PST) Date: Mon, 6 Feb 2023 10:46:35 -0600 From: Glenn Washburn To: "Thomas Schmitt" Cc: grub-devel@gnu.org, daniel.kiper@oracle.com Subject: Re: [PATCH] tests: Add pathological iso9660 filesystem tests Message-ID: <20230206104635.46e19bb4@crass-HP-ZBook-15-G2> In-Reply-To: <16652393890953890042@scdbackup.webframe.org> References: <20230205002831.1940679-1-development@efficientek.com> <16652393890953890042@scdbackup.webframe.org> Reply-To: development@efficientek.com X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=development@efficientek.com; helo=mail-qt1-x831.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2023 16:46:51 -0000 On Sun, 05 Feb 2023 09:24:21 +0100 "Thomas Schmitt" wrote: > Hi, > > Glenn Washburn wrote: > > --- a/tests/iso9660_test.in > > +++ b/tests/iso9660_test.in > > @@ -12,4 +12,13 @@ fi > > "@builddir@/grub-fs-tester" rockridge_joliet > > "@builddir@/grub-fs-tester" joliet_1999 > > "@builddir@/grub-fs-tester" rockridge_1999 > > -"@builddir@/grub-fs-tester" rockridge_joliet_1999 > > \ No newline at end of file > > +"@builddir@/grub-fs-tester" rockridge_joliet_1999 > > + > > +for fs in iso9660_ce_loop iso9660_ce_loop2; do > > + tempdir=`mktemp -d "${TMPDIR:-/tmp}/${0##*/}.$(date > > '+%Y%m%d%H%M%S%N').${fs}.XXX"` || > > + { echo "Failed to make temporary directory"; exit 99; } > > + gunzip <"$srcdir"/tests/${fs}.iso.gz >"${tempdir}/${fs}.iso" > > + output=$(LC_ALL=C timeout -s KILL "60" \ > > + "@builddir@/grub-fstest" "${tempdir}/${fs}.iso" ls / ) > > + test "$?" -eq 0 -a -z "$output" > > +done > > Shouldn't the decompressed files and the temporary directory be > removed afterwards ? Yes, good catch. I'll update. Glenn