Subject: bug#43226: Fwd: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP

From: Michael Albinus <[email-masked]>
Date: Sat, 05 Sep 2020 21:04:36 +0200

Subject: Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP
From: Michael Albinus <[email-masked]>
To: Eli Zaretskii <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked], [email-masked]
Date: Sat, 05 Sep 2020 19:36:34 +0200

Eli Zaretskii <[email-masked]> writes:

Hi Eli,

>> Most of the tests start with (skip-unless (tramp--test-enabled)). This
>> defun calls tramp-cleanup-connection, which shall also kill all related
>> Tramp processes. Doesn't seem to work on MS Windows.
>
> AFAICS, tramp-cleanup-connection deletes the network connection
> processes, but is that supposed to make sure the other side of the
> connection exits cleanly?

It does at least when you're on GNU/Linux. What happens on MS Windows is
beyond my knowledge.

Perhaps I'll call process-send-eof prior killing the process?

>> Maybe we shall simply allow both messages, because the exact wording
>> doesn't matter. What about the appended patch?
>
> It fixes the problem, thanks.

Pushed to master.

Best regards, Michael.