Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 6.6.y 0/2] Fix missing lib.sh for net/unicast_extensions.sh and net/pmtu.sh tests
@ 2024-06-14  6:58 Po-Hsu Lin
  2024-06-14  6:58 ` [PATCH 6.6.y 1/2] selftests/net: add lib.sh Po-Hsu Lin
  2024-06-14  6:58 ` [PATCH 6.6.y 2/2] selftests/net: add variable NS_LIST for lib.sh Po-Hsu Lin
  0 siblings, 2 replies; 4+ messages in thread
From: Po-Hsu Lin @ 2024-06-14  6:58 UTC (permalink / raw)
  To: stable; +Cc: po-hsu.lin, gregkh, petrm, liuhangbin, pabeni, kuba

Since upstream commit:
  * 0f4765d0 "selftests/net: convert unicast_extensions.sh to run it in
    unique namespace"
  * 378f082e "selftests/net: convert pmtu.sh to run it in unique namespace"

The lib.sh from commit 25ae948b "selftests/net: add lib.sh" will be needed.
Otherwise these test will complain about missing files and fail:
$ sudo ./unicast_extensions.sh
./unicast_extensions.sh: line 31: lib.sh: No such file or directory
...

$ sudo ./pmtu.sh
./pmtu.sh: line 201: lib.sh: No such file or directory
./pmtu.sh: line 941: cleanup_all_ns: command not found
...

Another commit b6925b4e "selftests/net: add variable NS_LIST for lib.sh" is
needed to add support for the cleanup_all_ns above.

Hangbin Liu (2):
  selftests/net: add lib.sh
  selftests/net: add variable NS_LIST for lib.sh

 tools/testing/selftests/net/Makefile          |  2 +-
 tools/testing/selftests/net/forwarding/lib.sh | 27 +-------
 tools/testing/selftests/net/lib.sh            | 93 +++++++++++++++++++++++++++
 3 files changed, 95 insertions(+), 27 deletions(-)
 create mode 100644 tools/testing/selftests/net/lib.sh

-- 
2.7.4


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

end of thread, other threads:[~2024-06-15  7:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14  6:58 [PATCH 6.6.y 0/2] Fix missing lib.sh for net/unicast_extensions.sh and net/pmtu.sh tests Po-Hsu Lin
2024-06-14  6:58 ` [PATCH 6.6.y 1/2] selftests/net: add lib.sh Po-Hsu Lin
2024-06-15  7:31   ` Hangbin Liu
2024-06-14  6:58 ` [PATCH 6.6.y 2/2] selftests/net: add variable NS_LIST for lib.sh Po-Hsu Lin

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