Skip to contentSkip to conversation

mc_cmds: Multicast ping being disabled should not fail the test

PATCH In review Simon Xu 2 participants 4 messages Nov 7, 2013 – Nov 11, 2013

lore
Share & tools
lore

Simon Xu

author
#0 lore raw

PATCH 1/1 mc_cmds: Multicast ping being disabled should not fail the test

---
 testcases/network/multicast/mc_cmds/mc_cmds | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/network/multicast/mc_cmds/mc_cmds +2 -1
index e9b7bb5..47bd4b9 100755
@@ -127,7 +127,8 @@ for eth in $IFNAME
    cat /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts | grep 1 > /dev/null
    if [ $? -eq 0 ]
    then
-       end_testcase "Multicast ping disabled on this system (this is normal on post year:2005 kernels)"
+       tst_resm TINFO "Multicast ping disabled on this system (this is normal on post year:2005 kernels)"
+       exit 0
    fi
 
    # Do the ping tests: Execute ping 224.0.0.1 - Verify that the proper
Signature · 13 lines
1.8.4.2


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw

Hi!

Quoted 10 lines
---
 testcases/network/multicast/mc_cmds/mc_cmds | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/network/multicast/mc_cmds/mc_cmds +0 -0
index e9b7bb5..47bd4b9 100755

testcases/network/multicast/mc_cmds/mc_cmds for eth in $IFNAME · line 131

Quoted 6 lines
testcases/network/multicast/mc_cmds/mc_cmds +2 -1
@@ -127,7 +127,8 @@ for eth in $IFNAME
    cat /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts | grep 1 > /dev/null
    if [ $? -eq 0 ]
    then
-       end_testcase "Multicast ping disabled on this system (this is normal on post year:2005 kernels)"
+       tst_resm TINFO "Multicast ping disabled on this system (this is normal on post year:2005 kernels)"
+       exit 0

This should be TCONF.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
author
#2 lore raw

PATCH 1/1 mc_cmds: Multicast ping being disabled should not fail the test

---
 testcases/network/multicast/mc_cmds/mc_cmds | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/network/multicast/mc_cmds/mc_cmds +2 -1
index e9b7bb5..d27f669 100755
@@ -127,7 +127,8 @@ for eth in $IFNAME
    cat /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts | grep 1 > /dev/null
    if [ $? -eq 0 ]
    then
-       end_testcase "Multicast ping disabled on this system (this is normal on post year:2005 kernels)"
+       tst_resm TCONF "Multicast ping disabled on this system (this is normal on post year:2005 kernels)"
+       exit 0
    fi
 
    # Do the ping tests: Execute ping 224.0.0.1 - Verify that the proper
Signature · 13 lines
1.8.4.2


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#3 lore raw

Hi!

Quoted 4 lines
---
 testcases/network/multicast/mc_cmds/mc_cmds | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Pushed, thanks.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list