On 09/24/2014 11:37 PM, Mike Stump wrote:
On Sep 24, 2014, at 8:28 AM, Michael Eager <eager@eagerm.com> wrote:
After check the current result log, I find many remote target test
related sentences, do we have to process it?
e.g. "Download to microblaze-xilinx-gdb failed, couldn't execute "rcp": no such file or directory."
The test suite uses rcp to transfer files to or from the target,
either to provide input to a test case or to check the output.
Most Linux systems do not install rcp, since it is a security risk.
To clarify:
if {[board_info $desthost exists rcp_prog]} {
set RCP [board_info $desthost rcp_prog]
} else {
set RCP rcp
}
So, if you set rcp_prog to something else, you should be able to avoid rsh if you want. Most people use ssh now-a-days. You will want it set up to not require a password for testing.
OK, thank you for your information.
For one simple solving way under fedora: "yum install rsh", and I will
get another issue:
"Download to microblaze-xilinx-gdb failed, microblaze-xilinx-gdb: Unknown host"
So I guess the root cause is: I only use cross-compiling environments
under fedora x86_64, no any real or virtual target for test.