All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] ltp-selftest-quick runtest file (was RE:  LTP release)
@ 2020-09-15 20:51 Bird, Tim
  2020-09-16  7:04 ` Petr Vorel
  0 siblings, 1 reply; 4+ messages in thread
From: Bird, Tim @ 2020-09-15 20:51 UTC (permalink / raw)
  To: ltp



> -----Original Message-----
> From: Petr Vorel <pvorel@suse.cz>
> Sent: Monday, September 14, 2020 11:28 PM
> To: Bird, Tim <Tim.Bird@sony.com>
> Cc: Cyril Hrubis <chrubis@suse.cz>; ltp@lists.linux.it
> Subject: Re: [LTP] LTP release
> 
> Hi Tim, Cyril,
> 
> > I'm also open to suggestions for possible tests.  I'd like a shell script command
> > to add to the list of binary programs.  Here is what I've chosen so far:
> > access01 access01
> > chdir01 chdir01
> > fork01 fork01
> > time01 time01
> > wait02 wait02
> > write01 write01
> > symlink01 symlink01
> > stat04 symlink01 -T stat04
> > utime01A symlink01 -T utime01
> > rename01A symlink01 -T rename01
> > splice02 seq 1 20 | splice02
> Could we please add at least one network test program?
That sounds good.

> e.g. route tests with netlink also uses shell API and it's really quick (real
> time 0m0,687s):
> route6-change-netlink-dst route-change-netlink-dst.sh -6
This particular one gives me:
...
 route-change-netlink-dst 1 TINFO: running route-change-netlink -c 10000 -6 -p 65535 -d ltp_ns_veth2 -r 'fd00:23:4::1,fd00:23:3::1,fd00:23:2::1,fd00:23:1::1,fd00:23::1,'
tst_test.c:871: CONF: libmnl library and headers are required
route-change-netlink-dst 1 TCONF: not supported configuration

Is there a networking one with less requirements, that is basically guaranteed to work?
 -- Tim

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

* [LTP] ltp-selftest-quick runtest file (was RE:  LTP release)
  2020-09-15 20:51 [LTP] ltp-selftest-quick runtest file (was RE: LTP release) Bird, Tim
@ 2020-09-16  7:04 ` Petr Vorel
  2020-09-16 22:25   ` Bird, Tim
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2020-09-16  7:04 UTC (permalink / raw)
  To: ltp

Hi Tim,

...
> > e.g. route tests with netlink also uses shell API and it's really quick (real
> > time 0m0,687s):
> > route6-change-netlink-dst route-change-netlink-dst.sh -6
> This particular one gives me:
> ...
>  route-change-netlink-dst 1 TINFO: running route-change-netlink -c 10000 -6 -p 65535 -d ltp_ns_veth2 -r 'fd00:23:4::1,fd00:23:3::1,fd00:23:2::1,fd00:23:1::1,fd00:23::1,'
> tst_test.c:871: CONF: libmnl library and headers are required
> route-change-netlink-dst 1 TCONF: not supported configuration

> Is there a networking one with less requirements, that is basically guaranteed to work?
Good catch. Although TCONF is also a test for shell API :), let's use plan shell
implementation:
route6-change-dst route-change-dst.sh -6

(a bit longer to run, but without libmnl dependency).

Kind regards,
Petr

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

* [LTP] ltp-selftest-quick runtest file (was RE:  LTP release)
  2020-09-16  7:04 ` Petr Vorel
@ 2020-09-16 22:25   ` Bird, Tim
  2020-09-17  5:53     ` Petr Vorel
  0 siblings, 1 reply; 4+ messages in thread
From: Bird, Tim @ 2020-09-16 22:25 UTC (permalink / raw)
  To: ltp



> -----Original Message-----
> From: Petr Vorel <pvorel@suse.cz>
> 
> Hi Tim,
> 
> ...
> > > e.g. route tests with netlink also uses shell API and it's really quick (real
> > > time 0m0,687s):
> > > route6-change-netlink-dst route-change-netlink-dst.sh -6
> > This particular one gives me:
> > ...
> >  route-change-netlink-dst 1 TINFO: running route-change-netlink -c 10000 -6 -p 65535 -d ltp_ns_veth2 -r
> 'fd00:23:4::1,fd00:23:3::1,fd00:23:2::1,fd00:23:1::1,fd00:23::1,'
> > tst_test.c:871: CONF: libmnl library and headers are required
> > route-change-netlink-dst 1 TCONF: not supported configuration
> 
> > Is there a networking one with less requirements, that is basically guaranteed to work?
> Good catch. Although TCONF is also a test for shell API :), let's use plan shell
> implementation:
> route6-change-dst route-change-dst.sh -6

This one worked on some of my boards and not others, due to ipv6 not being
configured on some of them.

How about this instead:
route4-change-dst route-change-dist.sh

 -- Tim


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

* [LTP] ltp-selftest-quick runtest file (was RE:  LTP release)
  2020-09-16 22:25   ` Bird, Tim
@ 2020-09-17  5:53     ` Petr Vorel
  0 siblings, 0 replies; 4+ messages in thread
From: Petr Vorel @ 2020-09-17  5:53 UTC (permalink / raw)
  To: ltp

Hi Tim,

...
> > > Is there a networking one with less requirements, that is basically guaranteed to work?
> > Good catch. Although TCONF is also a test for shell API :), let's use plan shell
> > implementation:
> > route6-change-dst route-change-dst.sh -6

> This one worked on some of my boards and not others, due to ipv6 not being
> configured on some of them.

> How about this instead:
> route4-change-dst route-change-dist.sh
ack.
(I consider TCONF as not failure, but let's use IPv4).

Petr

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

end of thread, other threads:[~2020-09-17  5:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 20:51 [LTP] ltp-selftest-quick runtest file (was RE: LTP release) Bird, Tim
2020-09-16  7:04 ` Petr Vorel
2020-09-16 22:25   ` Bird, Tim
2020-09-17  5:53     ` Petr Vorel

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.