On Mon, 17 May 2021 at 13:20, Vinay Kumar <vinay.m.engg@gmail.com> wrote:
Hi Alex,

>> +    scp -P 2222 -o StrictHostKeyChecking=no build/${SNAPSHOT_BUILD_SYS}/stage2-tools-bin/remote-test-server root@127.0.0.1:~/
>> +    ssh -p 2222 -o StrictHostKeyChecking=no -f root@127.0.0.1 "~/remote-test-server -v remote"

I tried copy_to() and run from sshcontrol.py on qemuimage successfully.
Howerver, I could not figure out the relative path for
"remote-test-server" from rust.py .

With get_bb_var() you can. Grep for examples in meta/lib/oeqa/selftest/cases.

Alex