summaryrefslogtreecommitdiff
path: root/vnet/run.sh
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-11-04 04:51:16 -0400
committerjoe <joe@jerkface.net>2017-11-04 04:51:16 -0400
commite6fef429fc3918eab6a35af202a101778c9abde3 (patch)
tree73fdb5fcb57594dbaea492fb838ce30d1a18bb38 /vnet/run.sh
parenta2ab874ed45dcaba3e063b0b55ab1d0a05a17158 (diff)
Utility for testing 16 simultaneous nodes.
Diffstat (limited to 'vnet/run.sh')
-rwxr-xr-xvnet/run.sh45
1 files changed, 45 insertions, 0 deletions
diff --git a/vnet/run.sh b/vnet/run.sh
new file mode 100755
index 00000000..0189b6b7
--- /dev/null
+++ b/vnet/run.sh
@@ -0,0 +1,45 @@
1#!/bin/sh
2
3[ -L ./dhtd ] || ( echo "Missing symbolic link to your build: ./dhtd" ; exit 1 )
4
5mkdir -p ep0 ep1 ep2 ep3 ep4 ep5 ep6 ep7 \
6 ep8 ep9 epA epB epC epD epE epF
7
8rm -f window-count
9echo detach > detached
10
11screen -S test -s ./screen-shell.sh -c detached
12sleep 0.5
13screen -S test -X screen
14sleep 0.5
15screen -S test -X screen
16sleep 0.5
17screen -S test -X screen
18sleep 0.5
19
20screen -S test -X screen
21sleep 0.5
22screen -S test -X screen
23sleep 0.5
24screen -S test -X screen
25sleep 0.5
26screen -S test -X screen
27sleep 0.5
28
29screen -S test -X screen
30sleep 0.5
31screen -S test -X screen
32sleep 0.5
33screen -S test -X screen
34sleep 0.5
35screen -S test -X screen
36sleep 0.5
37
38screen -S test -X screen
39sleep 0.5
40screen -S test -X screen
41sleep 0.5
42screen -S test -X screen
43sleep 0.5
44screen -S test -X screen
45sleep 0.5