Philipp Stephani writes: Hi Philipp, >> > As you see, Tramp is stalled for 19 seconds, and then the timeout kills >> > it. I will see whether I could rearrange the command sequence. Maybe >> > writing the temp file just in shorter chunks, or so. >> >> Could you pls check, whether the appended patch works for you? > > Thanks, that appears to work, at least the test now finishes > successfully within 13 seconds. OK, so I've pushed the patch to the master branch. It will also be merged into the emacs-27 branch after the release of 27.1. > However, now it looks like tramp-test29-start-file-process is timing out... Strange. The patch doesn't touch anything which is relevant for tramp-test29-start-file-process, AFAICT. OK, same procedure as very year: apply the appended patch to tramp-tests.el, and rerun the test. The debug buffer shall tell us more. Best regards, Michael.