diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-09 14:51:38 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-09 14:51:38 -0700 |
commit | a95fa379cca0ddbce98d476b143c3606f3ae7bce (patch) | |
tree | 8de46dc858d1ab19c44e929f10c9fae4daabd032 /examples | |
parent | 97dee9de36a69ed0aba4baf0cce03b9c4f11b30d (diff) | |
download | infinitytier-a95fa379cca0ddbce98d476b143c3606f3ae7bce.tar.gz infinitytier-a95fa379cca0ddbce98d476b143c3606f3ae7bce.zip |
Circuit tests basically work but need some tweaks, and fix some issues found with valgrind.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/api/circuit-test-pingpong.json | 13 | ||||
-rw-r--r-- | examples/docker/main.sh | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/examples/api/circuit-test-pingpong.json b/examples/api/circuit-test-pingpong.json new file mode 100644 index 00000000..8fcc5d94 --- /dev/null +++ b/examples/api/circuit-test-pingpong.json @@ -0,0 +1,13 @@ +{ + "hops": [ + [ "4cbc810d4c" ], + [ "868cd1664f" ], + [ "4cbc810d4c" ], + [ "868cd1664f" ], + [ "4cbc810d4c" ], + [ "868cd1664f" ], + [ "4cbc810d4c" ], + [ "868cd1664f" ] + ], + "reportAtEveryHop": true +} diff --git a/examples/docker/main.sh b/examples/docker/main.sh index e9febb13..53fb6540 100644 --- a/examples/docker/main.sh +++ b/examples/docker/main.sh @@ -20,6 +20,6 @@ else fi rm -f /var/lib/zerotier-one/identity.* -echo "$ZEROTIER_IDENTITY_SECRET" >identity.secret +echo "$ZEROTIER_IDENTITY_SECRET" >/var/lib/zerotier-one/identity.secret /var/lib/zerotier-one/zerotier-one |