6 Aug 2012 17:23
bug#12148: 24.1.50; Tramp has problems with Solaris server (test -e)
Carsten Bormann <cabo <at> tzi.org>
2012-08-06 15:23:26 GMT
2012-08-06 15:23:26 GMT
Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug. If you can, give a recipe
starting from `emacs -Q':
-- find a file via tramp on a Solaris 5.11 server (e.g., .bash_history)
-- exit emacs, so that a .emacs.d/tramp is written
-- find the file again
-> Error Couldn't find exit status of `test -e /users/home/cabo/.bash_history'
Solaris /bin/sh does not support test -e.
Worse, there is strange behavior when you use it:
bash$ /bin/sh
$ test -e foo ; echo $?
test: argument expected
$
So anything after the failing test does not get executed, which appears to destroy tramp's
exit status management.
This appears to get circumvented correctly once, but the .emacs.d/tramp
written out from the first emacs says:
("file-exists" "test -e")
which is clearly wrong.
So the next incarnation of emacs will no longer work correcly with that
Solaris server.
(Continue reading)
RSS Feed