mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 13:18:52 +00:00
tests: pim_basic should not use /tmp for outputing of files
Use the appropriate log directory. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
d580bcd6e7
commit
d5687faa0c
@ -132,14 +132,14 @@ def test_pim_send_mcast_stream():
|
|||||||
# Let's establish a S,G stream from r2 -> r1
|
# Let's establish a S,G stream from r2 -> r1
|
||||||
CWD = os.path.dirname(os.path.realpath(__file__))
|
CWD = os.path.dirname(os.path.realpath(__file__))
|
||||||
r2.run(
|
r2.run(
|
||||||
"{}/mcast-tx.py --ttl 5 --count 40 --interval 2 229.1.1.1 r2-eth0 > /tmp/bar".format(
|
"{}/mcast-tx.py --ttl 5 --count 40 --interval 2 229.1.1.1 r2-eth0 > {}/r2/mcast_tx_output".format(
|
||||||
CWD
|
CWD, tgen.logdir
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
# And from r3 -> r1
|
# And from r3 -> r1
|
||||||
r3.run(
|
r3.run(
|
||||||
"{}/mcast-tx.py --ttl 5 --count 40 --interval 2 229.1.1.1 r3-eth0 > /tmp/bar".format(
|
"{}/mcast-tx.py --ttl 5 --count 40 --interval 2 229.1.1.1 r3-eth0 > {}/r3/mcast_tx_output".format(
|
||||||
CWD
|
CWD, tgen.logdir
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user