Skip to content
Commit 9c2a19f7 authored by Daniel Mendes's avatar Daniel Mendes Committed by David S. Miller
Browse files

kselftest: rtnetlink.sh: add verbose flag



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: default avatarDaniel Mendes <dmendes@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 760554a9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment