From 38fdc24c2cc0c942337481e825c69004c93fc358 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 27 Apr 2024 01:23:43 +0200 Subject: updated tests --- ecp/README | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'ecp/README') diff --git a/ecp/README b/ecp/README index ec6ae47..557fc9d 100644 --- a/ecp/README +++ b/ecp/README @@ -9,16 +9,16 @@ To (re)build library, utilities and tests simply do: ./build.sh (MAKE=gmake ./build.sh on *BSD systems) In tests subdirectory you will find simple test examples. To test vc_server and vc_client (vconn feature) do: - util/mknode n1 - util/mknode n2 - util/mknode n3 - util/mknode server - cd tests + mkdir test/keys + util/keygen test/keys/n1.pub test/keys/n1.priv + util/keygen test/keys/n2.pub test/keys/n2.priv + util/keygen test/keys/n3.pub test/keys/n3.priv + util/keygen test/keys/server.pub test/keys/server.priv + cd test Then launch servers (each in its own terminal): - ./vcs 0.0.0.0:3001 ../n1.priv - ./vcs 0.0.0.0:3002 ../n2.priv 127.0.0.1:3001 ../n1.pub - ./vcs 0.0.0.0:3003 ../n3.priv 127.0.0.1:3002 ../n2.pub - ./vc_server ../server.priv 127.0.0.1:3001 ../n1.pub ../n2.pub ../n3.pub - ./vc_client ../server.pub 127.0.0.1:3001 ../n1.pub ../n2.pub ../n3.pub - \ No newline at end of file + ./vcs 0.0.0.0:3001 keys/n1.priv + ./vcs 0.0.0.0:3002 keys/n2.priv 127.0.0.1:3001 keys/n1.pub + ./vcs 0.0.0.0:3003 keys/n3.priv 127.0.0.1:3002 keys/n2.pub + ./vc_server keys/server.priv 127.0.0.1:3001 keys/n1.pub keys/n2.pub keys/n3.pub + ./vc_client keys/server.pub 127.0.0.1:3001 keys/n1.pub keys/n2.pub keys/n3.pub -- cgit v1.2.3