Skip to content

Commit

Permalink
kselftest: rtnetlink.sh: add verbose flag
Browse files Browse the repository at this point in the history
Uses a run_cmd helper function similar to other selftests to add
verbose functionality i.e. print executed commands and their outputs

Many commands silence or redirect output. This can be removed since
the verbose helper function captures output anyway and only outputs it
if VERBOSE is true. Similarly, the helper command for pipes to grep
searches stderr and stdout. This makes output redirection unnecessary
in those cases.

Signed-off-by: Daniel Mendes <dmendes@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Daniel Mendes authored and David S. Miller committed Sep 18, 2023
1 parent 760554a commit 9c2a19f
Showing 1 changed file with 381 additions and 581 deletions.
Loading

0 comments on commit 9c2a19f

Please sign in to comment.