public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] doc: Mention network tests in variables
@ 2019-07-18  9:20 Petr Vorel
  2019-07-18  9:29 ` Cyril Hrubis
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2019-07-18  9:20 UTC (permalink / raw)
  To: ltp

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi,

I'd prefer using hyperlinks in docs (as it's supposed to be viewed
mainly in a browser) but these are the only variants (which looks too
ugly to me):

NOTE: link:../../blob/master/testcases/network/README.md[Network tests] use additional variables
in 'tst_net.sh'.
(this one at least keeps links to forks)

NOTE: https://github.com/linux-test-project/ltp/blob/master/testcases/network/README.md[Network tests] use additional variables
in 'tst_net.sh'.

=> I'd be for giving up links.

Kind regards,
Petr

 doc/test-writing-guidelines.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/test-writing-guidelines.txt b/doc/test-writing-guidelines.txt
index 869e6ed35..e59d72065 100644
--- a/doc/test-writing-guidelines.txt
+++ b/doc/test-writing-guidelines.txt
@@ -1883,6 +1883,9 @@ simply by setting right '$TST_NEEDS_FOO'.
 | 'TST_NEEDS_DRIVERS'| Checks kernel drivers support for the test.
 |=============================================================================
 
+NOTE: Network tests (see testcases/network/README.md) use additional variables
+in 'tst_net.sh'.
+
 Checking for presence of commands
 +++++++++++++++++++++++++++++++++
 
-- 
2.22.0


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

* [LTP] [PATCH] doc: Mention network tests in variables
  2019-07-18  9:20 [LTP] [PATCH] doc: Mention network tests in variables Petr Vorel
@ 2019-07-18  9:29 ` Cyril Hrubis
  2019-07-18  9:50   ` Petr Vorel
  0 siblings, 1 reply; 4+ messages in thread
From: Cyril Hrubis @ 2019-07-18  9:29 UTC (permalink / raw)
  To: ltp

Hi!
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Hi,
> 
> I'd prefer using hyperlinks in docs (as it's supposed to be viewed
> mainly in a browser) but these are the only variants (which looks too
> ugly to me):
> 
> NOTE: link:../../blob/master/testcases/network/README.md[Network tests] use additional variables
> in 'tst_net.sh'.
> (this one at least keeps links to forks)
> 
> NOTE: https://github.com/linux-test-project/ltp/blob/master/testcases/network/README.md[Network tests] use additional variables
> in 'tst_net.sh'.
> 
> => I'd be for giving up links.

Given that test-writing-guidelines text is also on the LTP wiki the first one would not work anyways...

So yes I do agree that pointing out people to the relative location of
the README.md is probably the best we can do, acked.

> diff --git a/doc/test-writing-guidelines.txt b/doc/test-writing-guidelines.txt
> index 869e6ed35..e59d72065 100644
> --- a/doc/test-writing-guidelines.txt
> +++ b/doc/test-writing-guidelines.txt
> @@ -1883,6 +1883,9 @@ simply by setting right '$TST_NEEDS_FOO'.
>  | 'TST_NEEDS_DRIVERS'| Checks kernel drivers support for the test.
>  |=============================================================================
>  
> +NOTE: Network tests (see testcases/network/README.md) use additional variables
> +in 'tst_net.sh'.
> +
>  Checking for presence of commands
>  +++++++++++++++++++++++++++++++++
>  
> -- 
> 2.22.0
> 

-- 
Cyril Hrubis
chrubis@suse.cz

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

* [LTP] [PATCH] doc: Mention network tests in variables
  2019-07-18  9:29 ` Cyril Hrubis
@ 2019-07-18  9:50   ` Petr Vorel
  2019-07-22 10:38     ` Petr Vorel
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2019-07-18  9:50 UTC (permalink / raw)
  To: ltp

Hi,

> > I'd prefer using hyperlinks in docs (as it's supposed to be viewed
> > mainly in a browser) but these are the only variants (which looks too
> > ugly to me):

> > NOTE: link:../../blob/master/testcases/network/README.md[Network tests] use additional variables
> > in 'tst_net.sh'.
> > (this one at least keeps links to forks)

> > NOTE: https://github.com/linux-test-project/ltp/blob/master/testcases/network/README.md[Network tests] use additional variables
> > in 'tst_net.sh'.

> > => I'd be for giving up links.

> Given that test-writing-guidelines text is also on the LTP wiki the first one would not work anyways...
It works when using '../../blob/master/testcases/network/README.md' works, see [1] :).

> So yes I do agree that pointing out people to the relative location of
> the README.md is probably the best we can do, acked.
But unless Alexey objects, I'd be also for plain text version.

Kind regards,
Petr

[1] https://github.com/pevik/ltp/wiki/TEST

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

* [LTP] [PATCH] doc: Mention network tests in variables
  2019-07-18  9:50   ` Petr Vorel
@ 2019-07-22 10:38     ` Petr Vorel
  0 siblings, 0 replies; 4+ messages in thread
From: Petr Vorel @ 2019-07-22 10:38 UTC (permalink / raw)
  To: ltp

Hi,

merged.

Kind regards,
Petr

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

end of thread, other threads:[~2019-07-22 10:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-18  9:20 [LTP] [PATCH] doc: Mention network tests in variables Petr Vorel
2019-07-18  9:29 ` Cyril Hrubis
2019-07-18  9:50   ` Petr Vorel
2019-07-22 10:38     ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox