bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42538: 28.0.50; tramp-test35-remote-path test timing out on macOS


From: Michael Albinus
Subject: bug#42538: 28.0.50; tramp-test35-remote-path test timing out on macOS
Date: Sun, 02 Aug 2020 13:32:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Philipp Stephani <p.stephani2@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]