GNU bug report logs - #70866
panic-tests.sh test fails when run as root

Previous Next

Package: sed;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Fri, 10 May 2024 20:00:02 UTC

Severity: normal

To reply to this bug, email your comments to 70866 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-sed <at> gnu.org:
bug#70866; Package sed. (Fri, 10 May 2024 20:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Fri, 10 May 2024 20:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-sed <at> gnu.org
Subject: panic-tests.sh test fails when run as root
Date: Fri, 10 May 2024 21:59:24 +0200
[Message part 1 (text/plain, inline)]
Hi,

Running "make check" as root produces 1 test failure:

FAIL: testsuite/panic-tests.sh

This is annoying, because
  - in many CI situations (for example, when using Docker images), the uid is 0,
  - in Haiku as well, the uid is 0.

The attached patch fixes it.

[0001-tests-avoid-test-failure-when-running-as-root.patch (text/x-patch, attachment)]

Information forwarded to bug-sed <at> gnu.org:
bug#70866; Package sed. (Fri, 10 May 2024 22:13:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-sed <at> gnu.org
Subject: Re: panic-tests.sh test fails when run as root
Date: Sat, 11 May 2024 00:12:27 +0200
[Message part 1 (text/plain, inline)]
I wrote:
> The attached patch fixes it.

The same problem exists also on Cygwin. Here's a patch that fixes it for
both cases (and obsoletes the previous patch).

[0001-tests-avoid-test-failure-when-running-as-root-or-in-.patch (text/x-patch, attachment)]

This bug report was last modified 196 days ago.

Previous Next


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