From: Philippe Guibert Date: Tue, 13 Mar 2018 12:06:10 +0000 (+0100) Subject: bgp_vrf_netns: do not run test on 32 bit linux machines X-Git-Tag: frr-7.1-dev~151^2~110 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=e0fac6ad5e0d5f3cdf575505a95126e66ec306cd;p=matthieu%2Ffrr.git bgp_vrf_netns: do not run test on 32 bit linux machines It seems vrf netns is not working on 32 bit platforsm. For that, the test should be cancelled. Signed-off-by: Philippe Guibert --- diff --git a/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py b/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py index 780a62e2e9..1cb7011310 100755 --- a/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py +++ b/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py @@ -97,6 +97,10 @@ def setup_module(module): return pytest.skip('Skipping BGP VRF NETNS Test. VRF NETNS backend not available on FRR') if os.system('ip netns list') != 0: return pytest.skip('Skipping BGP VRF NETNS Test. NETNS not available on System') + osbased = router.run('uname -m').rstrip() + osrestriction = ['i686','i386'] + if osbased in osrestriction: + return pytest.skip('Skipping BGP VRF NETNS Test. NETNS not available on 32 bit machines') # retrieve VRF backend kind if CustomizeVrfWithNetns == True: logger.info('Testing with VRF Namespace support')