Skip to content
Snippets Groups Projects
Commit b11f18f5 authored by lemoer's avatar lemoer Committed by Martin Weinelt
Browse files

tests: add batctl tpmeter test case

parent 03f718a0
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
import sys
from pynet import *
import asyncio
import time
a = Node()
b = Node()
connect(a, b)
start()
b.wait_until_succeeds("ping -c 5 node1")
addr = a.succeed('cat /sys/class/net/primary0/address')
result = b.succeed(f'batctl tp {addr}')
print(result)
finish()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment