]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: remove --disable-ipv6
authorDavid Lamparter <equinox@opensourcerouting.org>
Sat, 22 Nov 2014 18:31:44 +0000 (10:31 -0800)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:25:13 +0000 (15:25 +0000)
With --disable-ipv6 gone, the IPv6 detection logic in the tests is not
needed anymore either.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Acked-by: Paul Jakma <paul@jakma.org>
(cherry picked from commit 85c63b844df4a295a64f37573e0ba08a7cc63659)

tests/bgpd.tests/testbgpcap.exp
tests/bgpd.tests/testbgpmpattr.exp
tests/config/unix.exp

index 1bbdfd12f031aa536e707ee749980102a8ca488f..2572623f0673b7918631075a20076258f9682281 100644 (file)
@@ -8,10 +8,10 @@ spawn "./testbgpcap"
 # proc simpletest { start } {
 
 simpletest "MP4: MP IP/Uni"
-simpletest_nov6 "MPv6: MP IPv6/Uni"
+simpletest "MPv6: MP IPv6/Uni"
 simpletest "MP2: MP IP/Multicast"
-simpletest_nov6 "MP3: MP IP6/MPLS-labeled VPN"
-simpletest_nov6 "MP5: MP IP6/MPLS-VPN"
+simpletest "MP3: MP IP6/MPLS-labeled VPN"
+simpletest "MP5: MP IP6/MPLS-VPN"
 simpletest "MP6: MP IP4/MPLS-laveled VPN"
 simpletest "MP8: MP unknown AFI/SAFI"
 simpletest "MP-short: MP IP4/Unicast, length too short (< minimum)"
index 93355ad7ab556be96fb81a4f6021e9c4b0993d79..646bbe5060449ca35b4c48956e4d81b139f58ced 100644 (file)
@@ -7,10 +7,10 @@ spawn "./testbgpmpattr"
 
 # proc simpletest { start } {
 
-simpletest_nov6 "IPv6: IPV6 MP Reach, global nexthop, 1 NLRI"
-simpletest_nov6 "IPv6-2: IPV6 MP Reach, global nexthop, 2 NLRIs"
-simpletest_nov6 "IPv6-default: IPV6 MP Reach, global nexthop, 2 NLRIs + default"
-simpletest_nov6 "IPv6-lnh: IPV6 MP Reach, global+local nexthops, 2 NLRIs + default"
+simpletest "IPv6: IPV6 MP Reach, global nexthop, 1 NLRI"
+simpletest "IPv6-2: IPV6 MP Reach, global nexthop, 2 NLRIs"
+simpletest "IPv6-default: IPV6 MP Reach, global nexthop, 2 NLRIs + default"
+simpletest "IPv6-lnh: IPV6 MP Reach, global+local nexthops, 2 NLRIs + default"
 simpletest "IPv6-nhlen: IPV6 MP Reach, inappropriate nexthop length"
 simpletest "IPv6-nhlen2: IPV6 MP Reach, invalid nexthop length"
 simpletest "IPv6-nhlen3: IPV6 MP Reach, nexthop length overflow"
@@ -21,9 +21,9 @@ simpletest "IPv4-nhlen: IPv4 MP Reach, nexthop lenth overflow"
 simpletest "IPv4-nlrilen: IPv4 MP Reach, nlri lenth overflow"
 simpletest "IPv4-MLVPN: IPv4/MPLS-labeled VPN MP Reach, RD, Nexthop, 3 NLRIs"
 simpletest "IPv6-bug: IPv6, global nexthop, 1 default NLRI"
-simpletest_nov6 "IPv6-unreach: IPV6 MP Unreach, 1 NLRI"
-simpletest_nov6 "IPv6-unreach2: IPV6 MP Unreach, 2 NLRIs"
-simpletest_nov6 "IPv6-unreach-default: IPV6 MP Unreach, 2 NLRIs + default"
+simpletest "IPv6-unreach: IPV6 MP Unreach, 1 NLRI"
+simpletest "IPv6-unreach2: IPV6 MP Unreach, 2 NLRIs"
+simpletest "IPv6-unreach-default: IPV6 MP Unreach, 2 NLRIs + default"
 simpletest "IPv6-unreach-nlri: IPV6 MP Unreach, NLRI bitlen overflow"
 simpletest "IPv4-unreach: IPv4 MP Unreach, 2 NLRIs + default"
 simpletest "IPv4-unreach-nlrilen: IPv4 MP Unreach, nlri length overflow"
index b41f072cc9148e7a90952f03bd7ec7656bba64cf..2f6bceadbef28ff174f4ad72809aa0cd3715b033 100644 (file)
@@ -8,16 +8,6 @@
 # be part of the output...
 #set color 1
 
-set config_h [open "../config.h" "r"]
-set config_h_text [read $config_h]
-close $config_h
-set i [string first "#define HAVE_IPV6" $config_h_text]
-if { $i >= 0 } {
-       set have_ipv6 1
-} else {
-       set have_ipv6 0
-}
-send_user "IPv6 enabled: $have_ipv6\n"
 set xfail 0
 
 proc onesimple { test_name match } {
@@ -110,13 +100,3 @@ proc simpletest { start } {
        onetest "$start" "" "$start"
 }
 
-proc simpletest_nov6 { start } {
-       global have_ipv6
-       global xfail
-
-       set xfail [expr 1-$have_ipv6]
-       onetest "$start" "" "$start"
-       set xfail 0
-}
-
-