All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] Make FTP test compatible with Busybox and Dropbear.
@ 2020-11-30 19:33 =?unknown-8bit?q?K=C3=B6ry?= Maincent
  2020-12-01 10:32 ` Alexey Kodanev
  0 siblings, 1 reply; 2+ messages in thread
From: =?unknown-8bit?q?K=C3=B6ry?= Maincent @ 2020-11-30 19:33 UTC (permalink / raw)
  To: ltp

Hello,

I am working with LTP on an embedded board.
I would like to notice the rhost_run command does not work with Dropbear ssh
client. I am trying to understand how tst_net work but I am a bit struggling
with it. What is the usage of TST_USE_NETNS, and the purpose of netspace (it
seems to be used to configure a virtual interface)?
My aim was to make FTP test work with Dropbear and Busybox. If someone could
point me out how to do it.

Regards,

K?ry


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [LTP] Make FTP test compatible with Busybox and Dropbear.
  2020-11-30 19:33 [LTP] Make FTP test compatible with Busybox and Dropbear =?unknown-8bit?q?K=C3=B6ry?= Maincent
@ 2020-12-01 10:32 ` Alexey Kodanev
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Kodanev @ 2020-12-01 10:32 UTC (permalink / raw)
  To: ltp

On 30.11.2020 22:33, K?ry Maincent wrote:
> Hello,
> 

Hi Kory,

> I am working with LTP on an embedded board.
> I would like to notice the rhost_run command does not work with Dropbear ssh
> client. I am trying to understand how tst_net work but I am a bit struggling
> with it. What is the usage of TST_USE_NETNS, and the purpose of netspace (it
> seems to be used to configure a virtual interface)?
> My aim was to make FTP test work with Dropbear and Busybox. If someone could
> point me out how to do it.
> 

ssh is used for two host setup only, if you are running on a single
machine, it's not used at all. Instead tst_rhost_run() runs the command
in the different namespace (ltp_ns), and it is the default setup. Also, by
default, tst_net.sh creates veth pair to connect to ltp_ns and run network
tests over it.

Moreover such setup can be replaced via RHOST environment variable (two
host setup + using ssh) and ssh becomes the management link, or custom
network namespace via LTP_NETNS var. Test network parameters replaced
via IPV4{6}_LHOST/IPV4{6}_RHOST vars.


> Regards,
> 
> K?ry
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-01 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30 19:33 [LTP] Make FTP test compatible with Busybox and Dropbear =?unknown-8bit?q?K=C3=B6ry?= Maincent
2020-12-01 10:32 ` Alexey Kodanev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.