Hi list,
I get a tramp failure recently. Do you know if there's already any
workaround for this bug?
Last login: Wed Aug 27 07:44:59 2014 from e7d89d6799991e.
Oracle Corporation SunOS 5.10 Generic Patch January 2005
DISPLAY set to e7b499bae95dea.ericsson.se:0.0
gtvuas14{nmsadm} # ptree $$
585 /usr/lib/ssh/sshd
16544 /usr/lib/ssh/sshd
16545 /usr/lib/ssh/sshd
16554 -sh
16574 ptree 16554
gtvuas14{nmsadm} # test -e / 2>/dev/null; echo tramp_exit_status $?
Note the echo command did not print anything to ouput... And I've checked,
that this is the sh builtin test command.
gtvuas14{nmsadm} # test -e / 2>/dev/null; echo tramp_exit_status $?
gtvuas14{nmsadm} # test -e / 2>/dev/null
gtvuas14{nmsadm} # echo tramp_exit_status $?
tramp_exit_status 1
gtvuas14{nmsadm} # which echo
/bin/echo
gtvuas14{nmsadm} # test -e / 2>/dev/null; /bin/echo tramp_exit_status $?
gtvuas14{nmsadm} # echo tramp_exit_status $?
tramp_exit_status 1
gtvuas14{nmsadm} # echo tramp_exit_status $?
tramp_exit_status 0
gtvuas14{nmsadm} # test -e / 2>/dev/null; echo tramp_exit_status $?
gtvuas14{nmsadm} # echo tramp_exit_status $?
tramp_exit_status 1
gtvuas14{nmsadm} # echo tramp_exit_status $?
tramp_exit_status 0
It feels like the echo command was not executed
;; GNU Emacs: 24.2.1 Tramp: 2.2.3-24.1 -*- mode: outline; -*-
15:11:58.575000 tramp-maybe-open-connection (3) # Opening connection for
[email protected] using pscp...
15:11:58.624000 tramp-maybe-open-connection (6) # C:\Windows\system32\cmd.exe
15:11:59.118000 tramp-wait-for-regexp (6) #
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
c:\Users\ekaifan\AppData\Local\Temp>
15:11:59.119000 tramp-maybe-open-connection (3) # Sending command `plink -l
nmsadm -ssh 10.45.220.42 && exit || exit'
15:11:59.119000 tramp-send-command (6) # plink -l nmsadm -ssh 10.45.220.42 &&
exit || exit
15:11:59.120000 tramp-process-actions (3) # Waiting for prompts from remote
shell
15:11:59.170000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\(
.*\)?: *\)\'" from remote shell
15:11:59.170000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\([pP]assword\|[pP]assphrase\).*: ? *\)\'" from remote shell
15:11:59.171000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal
[0-9]+\).*\)\'" from remote shell
15:11:59.171000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:11:59.171000 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:11:59.172000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:11:59.172000 tramp-process-one-action (5) # Looking for regexp
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels
connectio\)n)\)\s-*\)\'" from remote shell
15:11:59.172000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:11:59.172000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from
remote shell
15:11:59.173000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:12:00.173000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\(
.*\)?: *\)\'" from remote shell
15:12:00.173000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\([pP]assword\|[pP]assphrase\).*: ? *\)\'" from remote shell
15:12:00.174000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal
[0-9]+\).*\)\'" from remote shell
15:12:00.174000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:12:00.174000 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:12:00.174000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:12:00.175000 tramp-process-one-action (5) # Looking for regexp
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels
connectio\)n)\)\s-*\)\'" from remote shell
15:12:00.175000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:12:00.175000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from
remote shell
15:12:00.176000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:12:01.177000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\(
.*\)?: *\)\'" from remote shell
15:12:01.177000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\([pP]assword\|[pP]assphrase\).*: ? *\)\'" from remote shell
15:12:01.178000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal
[0-9]+\).*\)\'" from remote shell
15:12:01.178000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:12:01.178000 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:12:01.179000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:12:01.179000 tramp-process-one-action (5) # Looking for regexp
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels
connectio\)n)\)\s-*\)\'" from remote shell
15:12:01.179000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:12:01.179000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from
remote shell
15:12:01.180000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:12:02.180000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\(
.*\)?: *\)\'" from remote shell
15:12:02.180000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\([pP]assword\|[pP]assphrase\).*: ? *\)\'" from remote shell
15:12:02.180000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal
[0-9]+\).*\)\'" from remote shell
15:12:02.181000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:12:02.181000 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:12:02.181000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:12:02.181000 tramp-process-one-action (5) # Looking for regexp
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels
connectio\)n)\)\s-*\)\'" from remote shell
15:12:02.182000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:12:02.182000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from
remote shell
15:12:02.182000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:12:03.183000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\(
.*\)?: *\)\'" from remote shell
15:12:03.183000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\([pP]assword\|[pP]assphrase\).*: ? *\)\'" from remote shell
15:12:03.183000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal
[0-9]+\).*\)\'" from remote shell
15:12:03.184000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:12:03.184000 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:12:03.184000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:12:03.184000 tramp-process-one-action (5) # Looking for regexp
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels
connectio\)n)\)\s-*\)\'" from remote shell
15:12:03.185000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:12:03.185000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from
remote shell
15:12:03.185000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:12:04.185000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\(
.*\)?: *\)\'" from remote shell
15:12:04.185000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\([pP]assword\|[pP]assphrase\).*: ? *\)\'" from remote shell
15:12:04.185000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal
[0-9]+\).*\)\'" from remote shell
15:12:04.186000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:12:04.186000 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:12:04.186000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:12:04.186000 tramp-process-one-action (5) # Looking for regexp
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels
connectio\)n)\)\s-*\)\'" from remote shell
15:12:04.208000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:12:04.208000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from
remote shell
15:12:04.208000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:12:04.510000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\(
.*\)?: *\)\'" from remote shell
15:12:04.511000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\([pP]assword\|[pP]assphrase\).*: ? *\)\'" from remote shell
15:12:04.511000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal
[0-9]+\).*\)\'" from remote shell
15:12:04.511000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:12:04.512000 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:12:04.512000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:12:04.512000 tramp-process-one-action (5) # Looking for regexp
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels
connectio\)n)\)\s-*\)\'" from remote shell
15:12:04.513000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:12:04.513000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from
remote shell
15:12:04.513000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:12:04.620000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\(
.*\)?: *\)\'" from remote shell
15:12:04.621000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\([pP]assword\|[pP]assphrase\).*: ? *\)\'" from remote shell
15:12:04.621000 tramp-process-one-action (5) # Looking for regexp
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal
[0-9]+\).*\)\'" from remote shell
15:12:04.622000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:12:04.622000 tramp-process-one-action (5) # Call `tramp-action-succeed'
15:12:04.622000 tramp-process-actions (6) #
plink -l nmsadm -ssh 10.45.220.42 && exit || exit
Last login: Wed Aug 27 08:00:42 2014 from e7b499bae95dea.
Oracle Corporation SunOS 5.10 Generic Patch January 2005
DISPLAY set to e7b499bae95dea.ericsson.se:0.0
gtvuas14{nmsadm} #
15:12:04.624000 tramp-maybe-open-connection (3) # Found remote shell prompt on
`10.45.220.42'
15:12:04.625000 tramp-open-shell (5) # Opening remote shell `/bin/sh'...
15:12:04.625000 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND=''
PS1=\#\$\ PS2='' PS3='' /bin/sh
15:12:04.917000 tramp-wait-for-regexp (6) #
exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/sh
#$
15:12:04.917000 tramp-send-command (6) # PS1=\#\$\
15:12:05.209000 tramp-wait-for-regexp (6) #
PS1=\#\$\
#$
15:12:05.209000 tramp-send-command (6) # PS2=''
15:12:05.501000 tramp-wait-for-regexp (6) #
PS2=''
#$
15:12:05.501000 tramp-send-command (6) # PS3=''
15:12:05.793000 tramp-wait-for-regexp (6) #
PS3=''
#$
15:12:05.794000 tramp-send-command (6) # PROMPT_COMMAND=''
15:12:06.085000 tramp-wait-for-regexp (6) #
PROMPT_COMMAND=''
#$
15:12:06.086000 tramp-open-shell (5) # Opening remote shell `/bin/sh'...done
15:12:06.086000 tramp-open-connection-setup-interactive-shell (5) # Setting up
remote shell environment
15:12:06.086000 tramp-send-command (6) # stty -inlcr -echo kill '^U' erase '^H'
15:12:06.380000 tramp-wait-for-regexp (6) #
stty -inlcr -echo kill '^U' erase '^H'
#$
15:12:06.380000 tramp-send-command (6) # echo foo
15:12:06.673000 tramp-wait-for-regexp (6) #
foo
#$
15:12:06.673000 tramp-open-connection-setup-interactive-shell (5) # Setting
shell prompt
15:12:06.674000 tramp-send-command (6) #
PS1=///222e49dd2ac2f97ec02400d16ae45b3a\#\$
15:12:06.966000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:06.966000 tramp-send-command (6) # PS2=''
15:12:07.258000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:07.258000 tramp-send-command (6) # PS3=''
15:12:07.550000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:07.550000 tramp-send-command (6) # PROMPT_COMMAND=''
15:12:07.843000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:07.843000 tramp-open-connection-setup-interactive-shell (5) # Determining
coding system
15:12:07.844000 tramp-send-command (6) # echo foo ; echo bar
15:12:08.135000 tramp-wait-for-regexp (6) #
foo
bar
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:08.135000 tramp-open-connection-setup-interactive-shell (5) # Setting
coding system to `chinese-gb18030-dos' and `chinese-gb18030-unix'
15:12:08.136000 tramp-send-command (6) # set +o vi +o emacs
15:12:08.428000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:08.428000 tramp-open-connection-setup-interactive-shell (5) # Checking
system information
15:12:08.429000 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo
tramp_exit_status $?
15:12:08.730000 tramp-wait-for-regexp (6) #
"SunOS 5.10"
tramp_exit_status 0
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:08.730000 tramp-open-connection-setup-interactive-shell (5) # Checking
remote host type for `send-process-string' bug
15:12:08.731000 tramp-set-remote-path (5) # Setting $PATH environment variable
15:12:08.731000 tramp-send-command (6) #
PATH=/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/bin:/usr/sbin:/usr/local/bin; export
PATH
15:12:09.023000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:09.023000 tramp-send-command (6) # mesg n; biff n
15:12:09.337000 tramp-wait-for-regexp (6) #
biff: not found
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:09.337000 tramp-send-command (6) # echo \"`tty`\" 2>/dev/null; echo
tramp_exit_status $?
15:12:09.639000 tramp-wait-for-regexp (6) #
"/dev/pts/15"
tramp_exit_status 0
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:09.639000 tramp-open-connection-setup-interactive-shell (5) # Setting
default environment
15:12:09.640000 tramp-send-command (6) # HISTFILE=$HOME/.tramp_history; export
HISTFILE
15:12:09.933000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:09.934000 tramp-send-command (6) # HISTSIZE=1; export HISTSIZE
15:12:10.227000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:10.227000 tramp-send-command (6) # LC_ALL=C; export LC_ALL
15:12:10.519000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:10.520000 tramp-send-command (6) # TERM=dumb; export TERM
15:12:10.814000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:10.814000 tramp-send-command (6) # EMACS=t; export EMACS
15:12:11.107000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:11.107000 tramp-send-command (6) #
INSIDE_EMACS='24.2.1,tramp:2.2.3-24.1'; export INSIDE_EMACS
15:12:11.401000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:11.401000 tramp-send-command (6) # PAGER=""; export PAGER
15:12:11.693000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:11.693000 tramp-send-command (6) # unset correct autocorrect MAILPATH
MAILCHECK MAIL HISTORY CDPATH
15:12:11.985000 tramp-wait-for-regexp (6) #
MAILCHECK: cannot unset
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:11.987000 tramp-maybe-open-connection (3) # Opening connection for
[email protected] using pscp...done
15:12:11.988000 tramp-send-command (6) # test -d /home/nmsadm 2>/dev/null; echo
tramp_exit_status $?
15:12:12.279000 tramp-wait-for-regexp (6) #
tramp_exit_status 0
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:12.280000 tramp-sh-handle-file-truename (4) # Finding true name for
`/pscp:[email protected]:/home/nmsadm/'
15:12:12.280000 tramp-maybe-send-script (5) # Sending script
`tramp_perl_file_truename'...
15:12:12.280000 tramp-send-command (6) # tramp_perl_file_truename () {
\perl -e '
use File::Spec;
use Cwd "realpath";
sub recursive {
my ($volume, @dirs) = @_;
my $real = realpath(File::Spec->catpath(
$volume, File::Spec->catdir(@dirs), ""));
if ($real) {
my ($vol, $dir) = File::Spec->splitpath($real, 1);
return ($vol, File::Spec->splitdir($dir));
}
else {
my $last = pop(@dirs);
($volume, @dirs) = recursive($volume, @dirs);
push(@dirs, $last);
return ($volume, @dirs);
}
}
$result = realpath($ARGV[0]);
if (!$result) {
my ($vol, $dir) = File::Spec->splitpath($ARGV[0], 1);
($vol, @dirs) = recursive($vol, File::Spec->splitdir($dir));
$result = File::Spec->catpath($vol, File::Spec->catdir(@dirs), "");
}
if ($ARGV[0] =~ /\/$/) {
$result = $result . "/";
}
print "\"$result\"\n";
' "$1" 2>/dev/null
} 2>/dev/null; echo tramp_exit_status $?
15:12:12.918000 tramp-wait-for-regexp (6) #
tramp_exit_status 0
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:12.918000 tramp-maybe-send-script (5) # Sending script
`tramp_perl_file_truename'...done
15:12:12.919000 tramp-send-command (6) # tramp_perl_file_truename /home/nmsadm/
2>/dev/null; echo tramp_exit_status $?
15:12:13.256000 tramp-wait-for-regexp (6) #
"/home/nmsadm/"
tramp_exit_status 0
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:13.256000 tramp-sh-handle-file-truename (4) # True name of
`/home/nmsadm/' is `/home/nmsadm/'
15:12:13.287000 tramp-get-file-exists-command (5) # Finding command to check if
file exists
15:12:13.288000 tramp-send-command (6) # test -e / 2>/dev/null; echo
tramp_exit_status $?
15:12:13.579000 tramp-wait-for-regexp (6) #
///222e49dd2ac2f97ec02400d16ae45b3a#$
15:12:13.579000 tramp-send-command-and-check (1) # File error: Couldn't find
exit status of `test -e /'
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel