[LTP] [PATCH 1/1] net/traceroute01: Print traceroute version

Petr Vorel pvorel@suse.cz
Tue Aug 29 19:20:11 CEST 2017


Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/network/traceroute/traceroute01.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/testcases/network/traceroute/traceroute01.sh b/testcases/network/traceroute/traceroute01.sh
index 1e01a1c2c..04759697a 100755
--- a/testcases/network/traceroute/traceroute01.sh
+++ b/testcases/network/traceroute/traceroute01.sh
@@ -28,6 +28,9 @@ cleanup()
 
 setup()
 {
+	tst_resm TINFO "traceroute version:"
+	tst_resm TINFO $(traceroute --version 2>&1)
+
 	tst_check_cmds traceroute
 	tst_tmpdir
 }
-- 
2.14.0



More information about the ltp mailing list