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

13 lines
258 B
Bash
Raw Normal View History

2017-11-06 12:18:37 +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
2017-12-06 16:24:33 +08:00
echo_b "Creating channel ${APP_CHANNEL}..."
channelCreate ${APP_CHANNEL} 1 0