mirror of
https://github.com/planetmint/planetmint.git
synced 2025-03-30 15:08:31 +00:00

* restructering, added helper, split cli tests for later Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com> * fixed threshold test Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com> * added acceptance tests to integration test suite Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com> * added different threshold signature test scenarios Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com> * started chain-migration test implementation Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com> * fixed linter errors Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com> * removed -s from test command Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
24 lines
557 B
Bash
Executable File
24 lines
557 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright © 2020 Interplanetary Database Association e.V.,
|
|
# Planetmint and IPDB software contributors.
|
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
|
|
|
# Start CLI Tests
|
|
|
|
# Test upsert new validator
|
|
/tests/upsert-new-validator.sh
|
|
|
|
# Test chain migration
|
|
# TODO: implementation not finished
|
|
#/tests/chain-migration.sh
|
|
|
|
# TODO: Implement test for voting edge cases or implicit in chain migration and upsert validator?
|
|
|
|
exitcode=$?
|
|
|
|
if [ $exitcode -ne 0 ]; then
|
|
exit $exitcode
|
|
fi
|
|
|
|
exec "$@" |