Function: tramp-run-test
tramp-run-test is a byte-compiled function defined in tramp-sh.el.gz.
Signature
(tramp-run-test VEC SWITCH LOCALNAME)
Documentation
Run test on the remote system VEC, given a SWITCH and a LOCALNAME.
Returns the exit code of the test program.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-run-test (vec switch localname)
"Run `test' on the remote system VEC, given a SWITCH and a LOCALNAME.
Returns the exit code of the `test' program."
(tramp-send-command-and-check
vec
(format
"%s %s %s"
(tramp-get-test-command vec) switch (tramp-shell-quote-argument localname))))