X-Loop: help-debbugs@HIDDEN Subject: bug#17107: [PATCH 2/4] tests: Fix the t0281 test to respond to the backup GPT location question Resent-From: "Brian C. Lane" <bcl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 26 Mar 2014 18:34:05 +0000 Resent-Message-ID: <handler.17107.B.139585883628484 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 17107 X-GNU-PR-Package: parted X-GNU-PR-Keywords: patch To: 17107 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.139585883628484 (code B ref -1); Wed, 26 Mar 2014 18:34:05 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2014 18:33:56 +0000 Received: from localhost ([127.0.0.1]:51322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WSseB-0007PG-Ig for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 14:33:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57801) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <bcl@HIDDEN>) id 1WSsdy-0007OX-P1 for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 14:33:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1WSsds-00031Z-6D for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 14:33:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1WSsds-00031T-4A for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 14:33:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1WSsdm-0008It-PW for bug-parted@HIDDEN; Wed, 26 Mar 2014 14:33:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1WSsdf-0002wP-0x for bug-parted@HIDDEN; Wed, 26 Mar 2014 14:33:30 -0400 Received: from neil.brianlane.com ([24.113.37.65]:34465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1WSsde-0002tq-RO for bug-parted@HIDDEN; Wed, 26 Mar 2014 14:33:22 -0400 Received: by neil.brianlane.com (Postfix, from userid 1000) id 4C7E21005930E9; Wed, 26 Mar 2014 10:56:23 -0700 (PDT) From: "Brian C. Lane" <bcl@HIDDEN> Date: Wed, 26 Mar 2014 10:56:20 -0700 Message-Id: <1395856582-25064-3-git-send-email-bcl@HIDDEN> X-Mailer: git-send-email 1.8.5.3 In-Reply-To: <1395856582-25064-1-git-send-email-bcl@HIDDEN> References: <1395856582-25064-1-git-send-email-bcl@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) This fixes the test so that it will fix the backup GPT location as well as expand move the LastUsableLBA to cover the larger disk. * tests/t0281-gpt-grow.sh: Add backup GPT prompt --- tests/t0281-gpt-grow.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/t0281-gpt-grow.sh b/tests/t0281-gpt-grow.sh index e373578..44a743b 100644 --- a/tests/t0281-gpt-grow.sh +++ b/tests/t0281-gpt-grow.sh @@ -53,6 +53,7 @@ mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s, * ,,g;s, $,," \ # check for expected diagnostic cat <<EOF > exp || fail=1 +Error: The backup GPT table is not at the end of the disk, as it should be. Fix, by moving the backup to the end (and removing the old backup)? Warning: Not all of the space available to DEVICE appears to be used, you can fix the GPT to use all of the space (an extra 500 blocks) or continue with the current setting? Model: (file) Disk DEVICE: 2816kB @@ -66,7 +67,7 @@ EOF compare exp out || fail=1 # now we fix -printf 'f\n' | parted ---pretend-input-tty $dev print > out 2>&1 || fail=1 +printf 'f\nf\n' | parted ---pretend-input-tty $dev print > out 2>&1 || fail=1 # Transform the actual output, to avoid spurious differences when # $PWD contains a symlink-to-dir. Also, remove the ^M ...^M bogosity. @@ -76,6 +77,8 @@ mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s, * ,,g;s, $,," \ # check for expected diagnostic cat <<EOF > exp || fail=1 +Error: The backup GPT table is not at the end of the disk, as it should be. Fix, by moving the backup to the end (and removing the old backup)? +Fix/Ignore? f Warning: Not all of the space available to DEVICE appears to be used, you can fix the GPT to use all of the space (an extra 500 blocks) or continue with the current setting? Fix/Ignore? f Model: (file) -- 1.8.5.3
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Brian C. Lane" <bcl@HIDDEN> Subject: bug#17107: Acknowledgement ([PATCH 2/4] tests: Fix the t0281 test to respond to the backup GPT location question) Message-ID: <handler.17107.B.139585883628484.ack <at> debbugs.gnu.org> References: <1395856582-25064-3-git-send-email-bcl@HIDDEN> X-Gnu-PR-Message: ack 17107 X-Gnu-PR-Package: parted X-Gnu-PR-Keywords: patch Reply-To: 17107 <at> debbugs.gnu.org Date: Wed, 26 Mar 2014 18:34:05 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-parted@HIDDEN If you wish to submit further information on this problem, please send it to 17107 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 17107: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17107 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#17107: [PATCH 2/4] tests: Fix the t0281 test to respond to the backup GPT location question Resent-From: Phillip Susi <psusi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Thu, 27 Mar 2014 02:29:01 +0000 Resent-Message-ID: <handler.17107.B17107.139588728513397 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 17107 X-GNU-PR-Package: parted X-GNU-PR-Keywords: patch To: "Brian C. Lane" <bcl@HIDDEN>, 17107 <at> debbugs.gnu.org Received: via spool by 17107-submit <at> debbugs.gnu.org id=B17107.139588728513397 (code B ref 17107); Thu, 27 Mar 2014 02:29:01 +0000 Received: (at 17107) by debbugs.gnu.org; 27 Mar 2014 02:28:05 +0000 Received: from localhost ([127.0.0.1]:51575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WT032-0003U0-F0 for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 22:28:04 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:35897) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <psusi@HIDDEN>) id 1WT02z-0003Ta-Dz for 17107 <at> debbugs.gnu.org; Wed, 26 Mar 2014 22:28:02 -0400 X-Authority-Analysis: v=2.0 cv=S8pbMfQP c=1 sm=0 a=S/gQ7PeTrZbCJAhh99lbaw==:17 a=3C7RHhrQF8gA:10 a=FKU4Tsh43SAA:10 a=S1A5HrydsesA:10 a=ossw24rp0ecA:10 a=8nJEP1OIZ-IA:10 a=fxJcL_dCAAAA:8 a=KGjhK52YXX0A:10 a=QfKxxUxMAAAA:8 a=WMiVXP5xUsyIveQATRIA:9 a=wPNLvfGTeEIA:10 a=S/gQ7PeTrZbCJAhh99lbaw==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 72.238.67.160 Received: from [72.238.67.160] ([72.238.67.160:44362] helo=[192.168.1.101]) by cdptpa-oedge01.mail.rr.com (envelope-from <psusi@HIDDEN>) (ecelerity 2.2.3.46 r()) with ESMTP id A5/D4-17312-EAC83335; Thu, 27 Mar 2014 02:27:58 +0000 Message-ID: <53338CB0.5030204@HIDDEN> Date: Wed, 26 Mar 2014 22:28:00 -0400 From: Phillip Susi <psusi@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 References: <1395856582-25064-1-git-send-email-bcl@HIDDEN> <1395856582-25064-3-git-send-email-bcl@HIDDEN> In-Reply-To: <1395856582-25064-3-git-send-email-bcl@HIDDEN> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 03/26/2014 01:56 PM, Brian C. Lane wrote: > This fixes the test so that it will fix the backup GPT location as > well as expand move the LastUsableLBA to cover the larger disk. > > * tests/t0281-gpt-grow.sh: Add backup GPT prompt This test doesn't currently fail for me. Perhaps this is a regression resulting from your first patch in this series? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCgAGBQJTM4ywAAoJEI5FoCIzSKrw90AH/0WICnLNxsa5qQRfaFdBXHnE z3Wutv32O9FzDa1YqkgbiwbOvR6Kgf5FXu777glQVKgxUtIpi7ewwpzwzAIZtykR 98F18/PMcMcv07aelb6d9O+nXDM/0/jujopx4vaWtiQlUbs6cmghhZAevryMWN/m 8uKmc/DR7KA7Osk5/6239xGdCV9iei/CtANT45//NH+DU8lxyCTgrYoSyeIzi208 IdSrwSKLa3qilIEhQNE1lQdr0VbwuYGLp1G1BLN4LXHz6bofTpOPU5e46VBvOA3w 8r5EM56+6SOMRQMehe7qA1+hhE5mOYnFXglrz75eYq2RwyZDBm2cuauRNu9KxkI= =nhpx -----END PGP SIGNATURE-----
X-Loop: help-debbugs@HIDDEN Subject: bug#17107: [PATCH 2/4] tests: Fix the t0281 test to respond to the backup GPT location question Resent-From: "Brian C. Lane" <bcl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Thu, 27 Mar 2014 15:03:01 +0000 Resent-Message-ID: <handler.17107.B17107.13959325742863 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 17107 X-GNU-PR-Package: parted X-GNU-PR-Keywords: patch To: Phillip Susi <psusi@HIDDEN> Cc: 17107 <at> debbugs.gnu.org Received: via spool by 17107-submit <at> debbugs.gnu.org id=B17107.13959325742863 (code B ref 17107); Thu, 27 Mar 2014 15:03:01 +0000 Received: (at 17107) by debbugs.gnu.org; 27 Mar 2014 15:02:54 +0000 Received: from localhost ([127.0.0.1]:52877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WTBpV-0000k6-6f for submit <at> debbugs.gnu.org; Thu, 27 Mar 2014 11:02:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51205) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <bcl@HIDDEN>) id 1WTBpP-0000jr-L8 for 17107 <at> debbugs.gnu.org; Thu, 27 Mar 2014 11:02:49 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2RF2ib9024357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 27 Mar 2014 11:02:45 -0400 Received: from lister.brianlane.com (ovpn-113-57.phx2.redhat.com [10.3.113.57]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s2RF2hVh030726 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 27 Mar 2014 11:02:44 -0400 Date: Thu, 27 Mar 2014 08:02:43 -0700 From: "Brian C. Lane" <bcl@HIDDEN> Message-ID: <20140327150243.GJ12726@HIDDEN> References: <1395856582-25064-1-git-send-email-bcl@HIDDEN> <1395856582-25064-3-git-send-email-bcl@HIDDEN> <53338CB0.5030204@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53338CB0.5030204@HIDDEN> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -5.4 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.4 (-----) On Wed, Mar 26, 2014 at 10:28:00PM -0400, Phillip Susi wrote: > On 03/26/2014 01:56 PM, Brian C. Lane wrote: > > This fixes the test so that it will fix the backup GPT location as > > well as expand move the LastUsableLBA to cover the larger disk. > > > > * tests/t0281-gpt-grow.sh: Add backup GPT prompt > > This test doesn't currently fail for me. Perhaps this is a regression > resulting from your first patch in this series? It is a side-effect of fixing the first thing. You are prompted to fix the backup and then prompted to expand the amount of disk covered by First/LastUsableLBA -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.