Report the version of the ip route tools in ver_linux with ip -V. The
version is important to the netns testcases for example. Since it would
be useful for other testcases add it to the ver_linux script.

Signed-off-by: Matt Helsley <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Poornima Nayak <[email protected]>
Cc: Sudhir Kumar <[email protected]>
Cc: Veerendra C <[email protected]>
Cc: Munipradeep <[email protected]>
Cc: [email protected]

---
 ver_linux |    3 +++
 1 file changed, 3 insertions(+)

Index: ltp/ver_linux
===================================================================
--- ltp.orig/ver_linux
+++ ltp/ver_linux
@@ -62,6 +62,9 @@ ps --version 2>&1 | awk 'NR==1{print "Pr
 ifconfig --version 2>&1 | grep tools | awk \
 'NR==1{print "Net-tools             ", $NF}'
 
+ip -V 2>&1 | awk \
+'NR==1{print "iproute2             ", $NF}'
+
 # Kbd needs 'loadkeys -h',
 loadkeys -h 2>&1 | awk \
 '(NR==1 && ($3 !~ /option/)) {print "Kbd                   ", $3}'

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to