GNU bug report logs - #17104
[PATCH 3/4] tests: Add emit_superuser_warning for gpt tests

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: "Brian C. Lane" <bcl@HIDDEN>; Keywords: patch; dated Wed, 26 Mar 2014 18:34:01 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at 17104 <at> debbugs.gnu.org:


Received: (at 17104) by debbugs.gnu.org; 27 Mar 2014 17:09:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 27 13:09:56 2014
Received: from localhost ([127.0.0.1]:53036 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WTDoR-0006k4-W1
	for submit <at> debbugs.gnu.org; Thu, 27 Mar 2014 13:09:56 -0400
Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:54715)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <psusi@HIDDEN>) id 1WTDoP-0006jt-Kv
 for 17104 <at> debbugs.gnu.org; Thu, 27 Mar 2014 13:09:54 -0400
X-Authority-Analysis: v=2.0 cv=S8pbMfQP c=1 sm=0 a=/DbS/tiKggfTkRRHPZEB4g==:17
 a=h2n2wN--3AMA:10 a=vkBPG8ApA9IA:10 a=S1A5HrydsesA:10 a=Qsx_du5GiBkA:10
 a=8nJEP1OIZ-IA:10 a=fxJcL_dCAAAA:8 a=KGjhK52YXX0A:10 a=QfKxxUxMAAAA:8
 a=7l6ZiDB_v-VLdwq2vW4A:9 a=wPNLvfGTeEIA:10 a=/DbS/tiKggfTkRRHPZEB4g==:117
X-Cloudmark-Score: 0
X-Authenticated-User: 
X-Originating-IP: 67.78.168.186
Received: from [67.78.168.186] ([67.78.168.186:59509] helo=[10.1.1.236])
 by cdptpa-oedge01.mail.rr.com (envelope-from <psusi@HIDDEN>)
 (ecelerity 2.2.3.46 r()) with ESMTP
 id A2/86-17312-F5B54335; Thu, 27 Mar 2014 17:09:51 +0000
Message-ID: <53345B60.5050204@HIDDEN>
Date: Thu, 27 Mar 2014 13:09:52 -0400
From: Phillip Susi <psusi@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1;
 rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: "Brian C. Lane" <bcl@HIDDEN>
Subject: Re: bug#17104: [PATCH 3/4] tests: Add emit_superuser_warning for
 gpt tests
References: <1395856582-25064-1-git-send-email-bcl@HIDDEN>	<1395856582-25064-4-git-send-email-bcl@HIDDEN>	<53338D12.6010908@HIDDEN>
 <20140327150350.GK12726@HIDDEN>
In-Reply-To: <20140327150350.GK12726@HIDDEN>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 17104
Cc: 17104 <at> debbugs.gnu.org
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: SHA1

On 3/27/2014 11:03 AM, Brian C. Lane wrote:
>> There is no log entry for this change, so I don't understand it
>> at all.
> 
> When running parted without -s it will emit a warning that you are
> not superuser. In Fedora we run tests at buildtime as non-root so
> we need to call this whenever not using -s

Ahh, I see now.  Could you add a log entry and repost?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTNFtgAAoJEI5FoCIzSKrwiisH/1bJqLyzSH4i8EJNHuRYlucK
yXqxeanTV4h3mg69OZy+4DzlgAIDFbh7KjglMygTEKCJJkeY+ewh43KqMHTnjgv0
TbY1tdFXCSuASSrD/5NJ6aZi6Zl+GfvWfV56/xsZRtcKirutphoFJKnCWV7k+t9y
JlS6MFbr674U6Etvo/wibNU2rL6RFvhGHoSbe6NNUq2HIRAL5vWXdfLJModtaw12
5zQEKA9q8iVWk3HNO/z5SwAdM2FHQeqPjoeaNsTIEbJg7oD10/0b8vdBnwjdejao
2nSlWe9lzqdpsKC0+sJE8yueURm0UMGQEPe2TACk4dQQp9r4EXNs5xsD4xor3Kc=
=h20T
-----END PGP SIGNATURE-----




Information forwarded to bug-parted@HIDDEN:
bug#17104; Package parted. Full text available.

Message received at 17104 <at> debbugs.gnu.org:


Received: (at 17104) by debbugs.gnu.org; 27 Mar 2014 15:03:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 27 11:03:56 2014
Received: from localhost ([127.0.0.1]:52881 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WTBqV-0000m5-3l
	for submit <at> debbugs.gnu.org; Thu, 27 Mar 2014 11:03:55 -0400
Received: from mx1.redhat.com ([209.132.183.28]:33911)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bcl@HIDDEN>) id 1WTBqS-0000lv-N1
 for 17104 <at> debbugs.gnu.org; Thu, 27 Mar 2014 11:03:53 -0400
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
 (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
 by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2RF3pKI010686
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
 Thu, 27 Mar 2014 11:03:51 -0400
Received: from lister.brianlane.com (ovpn-113-57.phx2.redhat.com [10.3.113.57])
 by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 s2RF3o1T004575
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Thu, 27 Mar 2014 11:03:51 -0400
Date: Thu, 27 Mar 2014 08:03:50 -0700
From: "Brian C. Lane" <bcl@HIDDEN>
To: Phillip Susi <psusi@HIDDEN>
Subject: Re: bug#17104: [PATCH 3/4] tests: Add emit_superuser_warning for gpt
 tests
Message-ID: <20140327150350.GK12726@HIDDEN>
References: <1395856582-25064-1-git-send-email-bcl@HIDDEN>
 <1395856582-25064-4-git-send-email-bcl@HIDDEN>
 <53338D12.6010908@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <53338D12.6010908@HIDDEN>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Spam-Score: -5.4 (-----)
X-Debbugs-Envelope-To: 17104
Cc: 17104 <at> debbugs.gnu.org
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:29:38PM -0400, Phillip Susi wrote:
> On 03/26/2014 01:56 PM, Brian C. Lane wrote:
> > --- tests/t0281-gpt-grow.sh           | 3 ++- 
> > tests/t0282-gpt-move-backup.sh    | 3 ++- 
> > tests/t0283-overlap-partitions.sh | 6 ++++-- 3 files changed, 8
> > insertions(+), 4 deletions(-)
> 
> There is no log entry for this change, so I don't understand it at all.

When running parted without -s it will emit a warning that you are not
superuser. In Fedora we run tests at buildtime as non-root so we need to
call this whenever not using -s

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)




Information forwarded to bug-parted@HIDDEN:
bug#17104; Package parted. Full text available.

Message received at 17104 <at> debbugs.gnu.org:


Received: (at 17104) by debbugs.gnu.org; 27 Mar 2014 02:29:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 26 22:29:41 2014
Received: from localhost ([127.0.0.1]:51579 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WT04b-0003Wn-5J
	for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 22:29:41 -0400
Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:34274)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <psusi@HIDDEN>) id 1WT04Y-0003Wd-U6
 for 17104 <at> debbugs.gnu.org; Wed, 26 Mar 2014 22:29:39 -0400
X-Authority-Analysis: v=2.0 cv=GbyVbHrL c=1 sm=0 a=S/gQ7PeTrZbCJAhh99lbaw==:17
 a=3C7RHhrQF8gA:10 a=vkBPG8ApA9IA:10 a=S1A5HrydsesA:10 a=ossw24rp0ecA:10
 a=8nJEP1OIZ-IA:10 a=fxJcL_dCAAAA:8 a=KGjhK52YXX0A:10 a=QfKxxUxMAAAA:8
 a=BCh08v7imPCNTxVyULEA: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:44363] helo=[192.168.1.101])
 by cdptpa-oedge02.mail.rr.com (envelope-from <psusi@HIDDEN>)
 (ecelerity 2.2.3.46 r()) with ESMTP
 id 98/E5-00765-01D83335; Thu, 27 Mar 2014 02:29:36 +0000
Message-ID: <53338D12.6010908@HIDDEN>
Date: Wed, 26 Mar 2014 22:29:38 -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
To: "Brian C. Lane" <bcl@HIDDEN>, 17104 <at> debbugs.gnu.org
Subject: Re: bug#17104: [PATCH 3/4] tests: Add emit_superuser_warning for
 gpt tests
References: <1395856582-25064-1-git-send-email-bcl@HIDDEN>
 <1395856582-25064-4-git-send-email-bcl@HIDDEN>
In-Reply-To: <1395856582-25064-4-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-Debbugs-Envelope-To: 17104
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:
> --- tests/t0281-gpt-grow.sh           | 3 ++- 
> tests/t0282-gpt-move-backup.sh    | 3 ++- 
> tests/t0283-overlap-partitions.sh | 6 ++++-- 3 files changed, 8
> insertions(+), 4 deletions(-)

There is no log entry for this change, so I don't understand it at all.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTM40SAAoJEI5FoCIzSKrwsc4IAI6971pgCo8FWQz0gilJR84i
NWRVsED02xje424pCT/a9mzxFsUyWyn/Up1dRj/OfFWF2DfeVmxoOZPZeeCI6tMC
gOnh396tU9Y5uO4LjNz/+XjIGCjoi/COZ4OxUomDrFtl/eOO5+PldXaNYn+3k9nU
X0Q9qIh8OLJzv9DGT6fBd3iP2O62dHWvuomx+mJntqSNNob4mZuF8v3PIcuBTy2c
lUkrkmwpUaZLHbvvt0isQ3u+JMOgbyeWQRPyirxxxr+CliE5hdyZQOnMcsG6lld5
qz/LkejMlZEk7eZm05U5g9PJJnUWN5CDvUwZA2UJ1y+zhkIZ7+CS1ZY1jn1PHHQ=
=TRgk
-----END PGP SIGNATURE-----




Information forwarded to bug-parted@HIDDEN:
bug#17104; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Mar 2014 18:33:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 26 14:33:54 2014
Received: from localhost ([127.0.0.1]:51314 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WSsdx-0007OL-VH
	for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 14:33:54 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57767)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bcl@HIDDEN>) id 1WSsdu-0007OA-6G
 for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 14:33:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1WSsdo-0002zc-Nb
 for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 14:33:37 -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.0 required=5.0 tests=BAYES_40 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57350)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1WSsdo-0002zW-LF
 for submit <at> debbugs.gnu.org; Wed, 26 Mar 2014 14:33:32 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59392)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1WSsdj-0008Eb-Ue
 for bug-parted@HIDDEN; Wed, 26 Mar 2014 14:33:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1WSsdf-0002wB-0T
 for bug-parted@HIDDEN; Wed, 26 Mar 2014 14:33:27 -0400
Received: from neil.brianlane.com ([24.113.37.65]:34461)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1WSsde-0002tl-Rj
 for bug-parted@HIDDEN; Wed, 26 Mar 2014 14:33:22 -0400
Received: by neil.brianlane.com (Postfix, from userid 1000)
 id 6DFA81005930EA; Wed, 26 Mar 2014 10:56:23 -0700 (PDT)
From: "Brian C. Lane" <bcl@HIDDEN>
To: bug-parted@HIDDEN
Subject: [PATCH 3/4] tests: Add emit_superuser_warning for gpt tests
Date: Wed, 26 Mar 2014 10:56:21 -0700
Message-Id: <1395856582-25064-4-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-Debbugs-Envelope-To: submit
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 (-----)

---
 tests/t0281-gpt-grow.sh           | 3 ++-
 tests/t0282-gpt-move-backup.sh    | 3 ++-
 tests/t0283-overlap-partitions.sh | 6 ++++--
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/tests/t0281-gpt-grow.sh b/tests/t0281-gpt-grow.sh
index 44a743b..ff36b79 100644
--- a/tests/t0281-gpt-grow.sh
+++ b/tests/t0281-gpt-grow.sh
@@ -76,7 +76,8 @@ mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,
   *
,,g;s, $,," \
                       -e "s,^.*/lt-parted: ,parted: ," o2 > out
 
 # check for expected diagnostic
-cat <<EOF > exp || fail=1
+emit_superuser_warning > exp || fail=1
+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?
diff --git a/tests/t0282-gpt-move-backup.sh b/tests/t0282-gpt-move-backup.sh
index 9750ed7..1a296ad 100644
--- a/tests/t0282-gpt-move-backup.sh
+++ b/tests/t0282-gpt-move-backup.sh
@@ -75,7 +75,8 @@ mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,
   *
,,g;s, $,," \
                       -e "s,^.*/lt-parted: ,parted: ," o2 > out
 
 # check for expected diagnostic
-cat <<EOF > exp || fail=1
+emit_superuser_warning > exp || fail=1
+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
 Model:  (file)
diff --git a/tests/t0283-overlap-partitions.sh b/tests/t0283-overlap-partitions.sh
index 2a53407..c7ae52a 100644
--- a/tests/t0283-overlap-partitions.sh
+++ b/tests/t0283-overlap-partitions.sh
@@ -74,7 +74,8 @@ mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,
   *
,,g;s, $,," \
                       -e "s,^.*/lt-parted: ,parted: ," -e "s/^GNU Parted .*$/GNU Parted VERSION/" o2 > out
 
 # check for expected output
-cat <<EOF > exp || fail=1
+emit_superuser_warning > exp || fail=1
+cat <<EOF >> exp || fail=1
 GNU Parted VERSION
 Using DEVICE
 Welcome to GNU Parted! Type 'help' to view a list of commands.
@@ -116,7 +117,8 @@ mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,
   *
,,g;s, $,," \
                       -e "s,^.*/lt-parted: ,parted: ," -e "s/^GNU Parted .*$/GNU Parted VERSION/" o2 > out
 
 # check for expected output
-cat <<EOF > exp || fail=1
+emit_superuser_warning > exp || fail=1
+cat <<EOF >> exp || fail=1
 GNU Parted VERSION
 Using DEVICE
 Welcome to GNU Parted! Type 'help' to view a list of commands.
-- 
1.8.5.3





Acknowledgement sent to "Brian C. Lane" <bcl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#17104; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.