Hi,
I tried to see what actually happened in the test cases.
I seem to have boiled things down to the following line, when evaluated, tramp hangs. When enabling debug-on-quit, I get the attached backtrace after hitting C-g.
(write-region "test" nil "/mock:anders-lindgrens-macbook.local:/private/var/folders/qq/qqGPPGoBHOGgJs3oBoKTHU+++TI/-Tmp-/tramp-test1900-Fy/test")
The directory exists and is empty.
It looks like the code tries to run an external command "mock" (which doesn't exits, as far as I know).
-- Anders