GNU bug report logs - #59062
esh-var-test/alias test failures on Ubuntu 22.10

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sat, 5 Nov 2022 21:45:01 UTC

Severity: normal

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59062 in the body.
You can then email your comments to 59062 AT debbugs.gnu.org in the normal way.

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-gnu-emacs <at> gnu.org:
bug#59062; Package emacs. (Sat, 05 Nov 2022 21:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Eggert <eggert <at> cs.ucla.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 05 Nov 2022 21:45:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emacs bug reports and feature requests <bug-gnu-emacs <at> gnu.org>
Cc: Jim Porter <jporterbugs <at> gmail.com>
Subject: esh-var-test/alias test failures on Ubuntu 22.10
Date: Sat, 5 Nov 2022 14:44:14 -0700
[Message part 1 (text/plain, inline)]
This is on Ubuntu 22.10 x86-64, with current Emacs master (commit 
8a49a888532c955ae81855636a65b446508cb361 dated today). "make check" 
fails in some of the esh-var-test/alias tests. Some esh expertise (which 
I don't have) would be of use in debugging this so I'm taking the 
liberty of cc'ing Jim.

I'm attaching a copy of the build log (created with ./autogen.sh; 
configure; make; make check) and of the test failure logged in 
test/lisp/eshell/esh-var-tests.log. The build log is the same as in 
Bug#59061.
[build-log.gz (application/gzip, attachment)]
[esh-var-tests.log (text/x-log, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59062; Package emacs. (Sat, 05 Nov 2022 22:37:02 GMT) Full text and rfc822 format available.

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

From: Jim Porter <jporterbugs <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, 59062 <at> debbugs.gnu.org
Subject: Re: bug#59062: esh-var-test/alias test failures on Ubuntu 22.10
Date: Sat, 5 Nov 2022 15:36:17 -0700
On 11/5/2022 2:44 PM, Paul Eggert wrote:
> This is on Ubuntu 22.10 x86-64, with current Emacs master (commit 
> 8a49a888532c955ae81855636a65b446508cb361 dated today). "make check" 
> fails in some of the esh-var-test/alias tests. Some esh expertise (which 
> I don't have) would be of use in debugging this so I'm taking the 
> liberty of cc'ing Jim.

This is the relevant bit:

    (ert-test-failed
     ((should
       (eshell-match-output regexp))
      :form
      (eshell-match-output "Variable `ALIAS' is not settable\n")
      :value nil :explanation
      (mismatched-output
       (command "set ALIAS hello\n")
       (output "Variable ‘ALIAS’ is not settable\n")
       (regexp "Variable `ALIAS' is not settable\n"))))

It says the output has curved ‘’ quotes, but the regexp used to match 
the output uses `' quotes. I've never seen that fail locally, though I 
usually run "make -C test check-lisp-eshell". Maybe some setting (or 
other test) is messing with the way `' quotes get printed, which 
confuses the Eshell tests?




Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Sun, 06 Nov 2022 14:55:01 GMT) Full text and rfc822 format available.

Notification sent to Paul Eggert <eggert <at> cs.ucla.edu>:
bug acknowledged by developer. (Sun, 06 Nov 2022 14:55:02 GMT) Full text and rfc822 format available.

Message #13 received at 59062-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Jim Porter <jporterbugs <at> gmail.com>, Paul Eggert <eggert <at> cs.ucla.edu>, 
 59062-done <at> debbugs.gnu.org
Subject: Re: bug#59062: esh-var-test/alias test failures on Ubuntu 22.10
Date: Sun, 6 Nov 2022 06:53:56 -0800
Jim Porter <jporterbugs <at> gmail.com> writes:

> This is the relevant bit:
>
>     (ert-test-failed
>       ((should
>         (eshell-match-output regexp))
>        :form
>        (eshell-match-output "Variable `ALIAS' is not settable\n")
>        :value nil :explanation
>        (mismatched-output
>         (command "set ALIAS hello\n")
>         (output "Variable ‘ALIAS’ is not settable\n")
>         (regexp "Variable `ALIAS' is not settable\n"))))
>
> It says the output has curved ‘’ quotes, but the regexp used to match
> the output uses `' quotes. I've never seen that fail locally, though I
> usually run "make -C test check-lisp-eshell". Maybe some setting (or
> other test) is messing with the way `' quotes get printed, which
> confuses the Eshell tests?

This should now be fixed on master (commit 2ea9f69f07), so I'm closing
the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 05 Dec 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 258 days ago.

Previous Next


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