diff options
author | joe <joe@jerkface.net> | 2017-11-04 04:51:16 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-11-04 04:51:16 -0400 |
commit | e6fef429fc3918eab6a35af202a101778c9abde3 (patch) | |
tree | 73fdb5fcb57594dbaea492fb838ce30d1a18bb38 /vnet/run.sh | |
parent | a2ab874ed45dcaba3e063b0b55ab1d0a05a17158 (diff) |
Utility for testing 16 simultaneous nodes.
Diffstat (limited to 'vnet/run.sh')
-rwxr-xr-x | vnet/run.sh | 45 |
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 | |||
5 | mkdir -p ep0 ep1 ep2 ep3 ep4 ep5 ep6 ep7 \ | ||
6 | ep8 ep9 epA epB epC epD epE epF | ||
7 | |||
8 | rm -f window-count | ||
9 | echo detach > detached | ||
10 | |||
11 | screen -S test -s ./screen-shell.sh -c detached | ||
12 | sleep 0.5 | ||
13 | screen -S test -X screen | ||
14 | sleep 0.5 | ||
15 | screen -S test -X screen | ||
16 | sleep 0.5 | ||
17 | screen -S test -X screen | ||
18 | sleep 0.5 | ||
19 | |||
20 | screen -S test -X screen | ||
21 | sleep 0.5 | ||
22 | screen -S test -X screen | ||
23 | sleep 0.5 | ||
24 | screen -S test -X screen | ||
25 | sleep 0.5 | ||
26 | screen -S test -X screen | ||
27 | sleep 0.5 | ||
28 | |||
29 | screen -S test -X screen | ||
30 | sleep 0.5 | ||
31 | screen -S test -X screen | ||
32 | sleep 0.5 | ||
33 | screen -S test -X screen | ||
34 | sleep 0.5 | ||
35 | screen -S test -X screen | ||
36 | sleep 0.5 | ||
37 | |||
38 | screen -S test -X screen | ||
39 | sleep 0.5 | ||
40 | screen -S test -X screen | ||
41 | sleep 0.5 | ||
42 | screen -S test -X screen | ||
43 | sleep 0.5 | ||
44 | screen -S test -X screen | ||
45 | sleep 0.5 | ||