From 64581658b1e352d93064a7940cb61fe792e17d05 Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Sat, 26 Nov 2016 02:56:28 -0800 Subject: [PATCH] bgp_multiview_topo1: Rename received bgp route log with .log for easy clean between runs --- tests/topotests/bgp_multiview_topo1/peer1/exa-receive.py | 2 +- tests/topotests/bgp_multiview_topo1/peer2/exa-receive.py | 2 +- tests/topotests/bgp_multiview_topo1/peer3/exa-receive.py | 2 +- tests/topotests/bgp_multiview_topo1/peer4/exa-receive.py | 2 +- tests/topotests/bgp_multiview_topo1/peer5/exa-receive.py | 2 +- tests/topotests/bgp_multiview_topo1/peer6/exa-receive.py | 2 +- tests/topotests/bgp_multiview_topo1/peer7/exa-receive.py | 2 +- tests/topotests/bgp_multiview_topo1/peer8/exa-receive.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/topotests/bgp_multiview_topo1/peer1/exa-receive.py b/tests/topotests/bgp_multiview_topo1/peer1/exa-receive.py index 8e65f1ae9a..5334ea5369 100755 --- a/tests/topotests/bgp_multiview_topo1/peer1/exa-receive.py +++ b/tests/topotests/bgp_multiview_topo1/peer1/exa-receive.py @@ -13,7 +13,7 @@ peer = int(argv[1]) # When the parent dies we are seeing continual newlines, so we only access so many before stopping counter = 0 -routesavefile = open('/tmp/peer%s-received' % peer, 'w') +routesavefile = open('/tmp/peer%s-received.log' % peer, 'w') while True: try: diff --git a/tests/topotests/bgp_multiview_topo1/peer2/exa-receive.py b/tests/topotests/bgp_multiview_topo1/peer2/exa-receive.py index 8e65f1ae9a..5334ea5369 100755 --- a/tests/topotests/bgp_multiview_topo1/peer2/exa-receive.py +++ b/tests/topotests/bgp_multiview_topo1/peer2/exa-receive.py @@ -13,7 +13,7 @@ peer = int(argv[1]) # When the parent dies we are seeing continual newlines, so we only access so many before stopping counter = 0 -routesavefile = open('/tmp/peer%s-received' % peer, 'w') +routesavefile = open('/tmp/peer%s-received.log' % peer, 'w') while True: try: diff --git a/tests/topotests/bgp_multiview_topo1/peer3/exa-receive.py b/tests/topotests/bgp_multiview_topo1/peer3/exa-receive.py index 8e65f1ae9a..5334ea5369 100755 --- a/tests/topotests/bgp_multiview_topo1/peer3/exa-receive.py +++ b/tests/topotests/bgp_multiview_topo1/peer3/exa-receive.py @@ -13,7 +13,7 @@ peer = int(argv[1]) # When the parent dies we are seeing continual newlines, so we only access so many before stopping counter = 0 -routesavefile = open('/tmp/peer%s-received' % peer, 'w') +routesavefile = open('/tmp/peer%s-received.log' % peer, 'w') while True: try: diff --git a/tests/topotests/bgp_multiview_topo1/peer4/exa-receive.py b/tests/topotests/bgp_multiview_topo1/peer4/exa-receive.py index 8e65f1ae9a..5334ea5369 100755 --- a/tests/topotests/bgp_multiview_topo1/peer4/exa-receive.py +++ b/tests/topotests/bgp_multiview_topo1/peer4/exa-receive.py @@ -13,7 +13,7 @@ peer = int(argv[1]) # When the parent dies we are seeing continual newlines, so we only access so many before stopping counter = 0 -routesavefile = open('/tmp/peer%s-received' % peer, 'w') +routesavefile = open('/tmp/peer%s-received.log' % peer, 'w') while True: try: diff --git a/tests/topotests/bgp_multiview_topo1/peer5/exa-receive.py b/tests/topotests/bgp_multiview_topo1/peer5/exa-receive.py index 8e65f1ae9a..5334ea5369 100755 --- a/tests/topotests/bgp_multiview_topo1/peer5/exa-receive.py +++ b/tests/topotests/bgp_multiview_topo1/peer5/exa-receive.py @@ -13,7 +13,7 @@ peer = int(argv[1]) # When the parent dies we are seeing continual newlines, so we only access so many before stopping counter = 0 -routesavefile = open('/tmp/peer%s-received' % peer, 'w') +routesavefile = open('/tmp/peer%s-received.log' % peer, 'w') while True: try: diff --git a/tests/topotests/bgp_multiview_topo1/peer6/exa-receive.py b/tests/topotests/bgp_multiview_topo1/peer6/exa-receive.py index 8e65f1ae9a..5334ea5369 100755 --- a/tests/topotests/bgp_multiview_topo1/peer6/exa-receive.py +++ b/tests/topotests/bgp_multiview_topo1/peer6/exa-receive.py @@ -13,7 +13,7 @@ peer = int(argv[1]) # When the parent dies we are seeing continual newlines, so we only access so many before stopping counter = 0 -routesavefile = open('/tmp/peer%s-received' % peer, 'w') +routesavefile = open('/tmp/peer%s-received.log' % peer, 'w') while True: try: diff --git a/tests/topotests/bgp_multiview_topo1/peer7/exa-receive.py b/tests/topotests/bgp_multiview_topo1/peer7/exa-receive.py index 8e65f1ae9a..5334ea5369 100755 --- a/tests/topotests/bgp_multiview_topo1/peer7/exa-receive.py +++ b/tests/topotests/bgp_multiview_topo1/peer7/exa-receive.py @@ -13,7 +13,7 @@ peer = int(argv[1]) # When the parent dies we are seeing continual newlines, so we only access so many before stopping counter = 0 -routesavefile = open('/tmp/peer%s-received' % peer, 'w') +routesavefile = open('/tmp/peer%s-received.log' % peer, 'w') while True: try: diff --git a/tests/topotests/bgp_multiview_topo1/peer8/exa-receive.py b/tests/topotests/bgp_multiview_topo1/peer8/exa-receive.py index 8e65f1ae9a..5334ea5369 100755 --- a/tests/topotests/bgp_multiview_topo1/peer8/exa-receive.py +++ b/tests/topotests/bgp_multiview_topo1/peer8/exa-receive.py @@ -13,7 +13,7 @@ peer = int(argv[1]) # When the parent dies we are seeing continual newlines, so we only access so many before stopping counter = 0 -routesavefile = open('/tmp/peer%s-received' % peer, 'w') +routesavefile = open('/tmp/peer%s-received.log' % peer, 'w') while True: try: -- 2.39.5