Skip to content

Commit

Permalink
adapting test scripts to new dtcconfig command name
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo committed May 20, 2020
1 parent bfb467c commit 0ce6eff
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ dtc.so
db.sqlite3
dtc.h
/tests/pkcs11-test/config*
/tests/pkcs11-test/dtc-config.yaml
/tests/hsm-tools/dtc/config/
/tests/hsm-tools/dtcnode/config/
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require (
github.com/google/uuid v1.1.1
github.com/mattn/go-sqlite3 v1.10.0
github.com/miekg/pkcs11 v1.0.2
github.com/niclabs/dtcconfig v1.0.6 // indirect
github.com/niclabs/dtcnode/v3 v3.0.0
github.com/niclabs/tcecdsa v0.0.7
github.com/niclabs/tcrsa v0.0.4
Expand Down
2 changes: 1 addition & 1 deletion tests/hsm-tools/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e
cd "$(dirname $0)" || exit
docker-compose build
go run github.com/niclabs/dtcconfig rsa \
go run github.com/niclabs/dtcconfig create \
-n dtcnode1:2030,dtcnode2:2030,dtcnode3:2030,dtcnode4:2030,dtcnode5:2030 \
-t 3 \
-H "dtcclient" \
Expand Down
2 changes: 1 addition & 1 deletion tests/pkcs11-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e
cd "$(dirname $0)" || exit
../../build.sh ../../
go run github.com/niclabs/dtcconfig rsa \
go run github.com/niclabs/dtcconfig create \
-n 0.0.0.0:8871,0.0.0.0:8873,0.0.0.0:8875,0.0.0.0:8877,0.0.0.0:8879 \
-t 3 \
-H "$(ip addr | grep 'global docker0' | awk '{print $2}' | sed sx/16xxg)" \
Expand Down

0 comments on commit 0ce6eff

Please sign in to comment.