From 25e2c7b5639f975a03a0badb0d020fe25e179421 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Thu, 14 Dec 2017 16:27:25 -0800 Subject: [PATCH] Updated create_test_identities.sh --- obj/.gitignore | 4 ---- test/create_test_identities.sh | 12 ++++++------ 2 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 obj/.gitignore diff --git a/obj/.gitignore b/obj/.gitignore deleted file mode 100644 index 5e7d273..0000000 --- a/obj/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore diff --git a/test/create_test_identities.sh b/test/create_test_identities.sh index 8ddcf6b..5f38015 100755 --- a/test/create_test_identities.sh +++ b/test/create_test_identities.sh @@ -1,11 +1,11 @@ # !/bin/bash # Generates test identities and joins them to a test network -NWID="" +NWID=$1 -mkdir -p test/alice test/bob test/carol test/ted +mkdir -p alice bob carol ted -./build/darwin/selftest generate_id ${NWID} test/alice -./build/darwin/selftest generate_id ${NWID} test/bob -./build/darwin/selftest generate_id ${NWID} test/carol -./build/darwin/selftest generate_id ${NWID} test/ted +./../bin/selftest generate_id ${NWID} alice +./../bin/selftest generate_id ${NWID} bob +./../bin/selftest generate_id ${NWID} carol +./../bin/selftest generate_id ${NWID} ted