GNU bug report logs - #42538
28.0.50; tramp-test35-remote-path test timing out on macOS

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Sat, 25 Jul 2020 19:05:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in versions 27.2, 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 42538 <at> debbugs.gnu.org
Subject: bug#42538: 28.0.50; tramp-test35-remote-path test timing out on macOS
Date: Sun, 02 Aug 2020 13:32:16 +0200
Philipp Stephani <p.stephani2 <at> gmail.com> writes:

Hi Philipp,

> Test tramp-test33-environment-variables condition:
>     (ert-test-failed
>      ((should
>        (string-equal
> (format "%s,tramp:%s" emacs-version tramp-version)
> (funcall this-shell-command-to-string "echo -n ${INSIDE_EMACS:-bla}")))
>       :form
>       (string-equal "28.0.50,tramp:2.5.0-pre" "-n 28.0.50,tramp:2.5.0-pre
> ")
>       :value nil))
>    FAILED  45/68  tramp-test33-environment-variables (0.198462 sec)
>
> It looks like this "echo" command/builtin doesn't support "-n".

You're right, "echo -n" isn't portable. The POSIX standard mentions it:

"It is not possible to use echo portably across all POSIX systems unless
both -n (as the first argument) and escape sequences are omitted."

I fixed it, pushed to master.

Best regards, Michael.




This bug report was last modified 4 years and 296 days ago.

Previous Next


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