tor_multipath_voip/scripts/run-seq

16 lines
330 B
Text
Raw Normal View History

2019-04-23 14:17:42 +00:00
#!/bin/bash
2019-05-06 14:07:38 +00:00
COUNT=$1
2019-04-23 14:17:42 +00:00
WAITFOR=1800 # 30min
2019-05-06 14:07:38 +00:00
for i in {1..$COUNT}; do
2019-04-23 14:17:42 +00:00
timeout $WAITFOR bash <<EOF
./xp-instance-runner witness 6000 100 100 &
./xp-instance-runner orig 6000 100 100 &
./xp-instance-runner naive 6000 100 100 &
./xp-instance-runner rr 6000 100 100 &
./xp-instance-runner rrh 6000 100 100 &
wait;
EOF
done