Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
integrate the wifi unit tests
[simgrid.git] / teshsuite / surf / wifi_usage / 1STA-1LINK-1NODE.tesh
1 #!/usr/bin/env tesh
2
3 p Test WITH crosstraffic
4 $ ${bindir:=.}/1STA-1LINK-1NODE ${platfdir}/wifi/1STA-1LINK-1NODE.xml
5 > [Station 1:sender:(1) 0.000156] [simulator/INFO] Station 1 sent 1000 bytes to NODE1 in 0.000156 seconds from 0.000000 to 0.000156
6 > [0.000156] [simulator/INFO] Simulation took 0.000156s
7
8 p Test WITHOUT crosstraffic
9 $ ${bindir:=.}/1STA-1LINK-1NODE ${platfdir}/wifi/1STA-1LINK-1NODE.xml --cfg=network/crosstraffic:0
10 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/crosstraffic' to '0'
11 > [Station 1:sender:(1) 0.000148] [simulator/INFO] Station 1 sent 1000 bytes to NODE1 in 0.000148 seconds from 0.000000 to 0.000148
12 > [0.000148] [simulator/INFO] Simulation took 0.000148s