updated picoTCP to 1.4.0, lowered build optimization levels to -O2, improved selftest
This commit is contained in:
14
ext/picotcp/test/python/ping_delay.py
Executable file
14
ext/picotcp/test/python/ping_delay.py
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/python
|
||||
from topology import *
|
||||
|
||||
T = Topology()
|
||||
net1 = Network(T)
|
||||
|
||||
h1 = Host(T, net1, delay1="200")
|
||||
h2 = Host(T, net1, args="ping:172.16.1.1:")
|
||||
|
||||
sleep(1)
|
||||
start(T)
|
||||
|
||||
wait(h2)
|
||||
cleanup()
|
||||
Reference in New Issue
Block a user