Function: tramp-get-test-command
tramp-get-test-command is a byte-compiled function defined in
tramp-sh.el.gz.
Signature
(tramp-get-test-command VEC)
Documentation
Determine remote test command.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-get-test-command (vec)
"Determine remote `test' command."
(with-tramp-connection-property vec "test"
(tramp-message vec 5 "Finding a suitable `test' command")
(if (tramp-send-command-and-check vec "test 0")
"test"
(tramp-find-executable vec "test" (tramp-get-remote-path vec)))))