• Daniel Mendes's avatar
    kselftest: rtnetlink.sh: add verbose flag · 9c2a19f7
    Daniel Mendes authored
    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>
    9c2a19f7
rtnetlink.sh 31.8 KB