docker-compose-files/hyperledger_fabric/v1.1.0/scripts/test_channel_create.sh

18 lines
390 B
Bash
Raw Normal View History

2018-01-29 11:01:25 +08:00
#!/bin/bash
# Importing useful functions for cc testing
if [ -f ./func.sh ]; then
source ./func.sh
elif [ -f scripts/func.sh ]; then
source scripts/func.sh
fi
## Create channel
echo_b "=== Creating channel ${APP_CHANNEL} with ${APP_CHANNEL_TX}... ==="
channelCreate "${APP_CHANNEL}" "${APP_CHANNEL_TX}" 1 0
echo_g "=== Created channel ${APP_CHANNEL} with ${APP_CHANNEL_TX} ==="
echo