Thread (2 messages) 2 messages, 2 authors, 2018-03-09

Re: [PATCH v2 net-next] tools: tc-testing: Can refer to $TESTID in test spec

flat view

From: David Miller <davem@davemloft.net>
Date: 2018-03-09 16:22:31

From: "Brenda J. Butler" <redacted>
Date: Thu,  8 Mar 2018 15:27:44 -0500
When processing the commands in the test cases, substitute
the test id for $TESTID.  This helps to make more flexible
tests.  For example, the testid can be given as a command
line argument.

As an example, if we wish to save the test output to a file
named for the test case, we can write in the test case:

"cmdUnderTest": "some test command | tee -a $TESTID.out"

Signed-off-by: Brenda J. Butler <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help