docker-compose-files/hyperledger_fabric/v1.2.0/scripts/test_channel_list.sh

24 lines
373 B
Bash
Raw Normal View History

2018-07-04 17:16:42 +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 "=== Listing joined channels... ==="
for org in "${ORGS[@]}"
do
for peer in "${PEERS[@]}"
do
channelList $org $peer
done
done
2018-08-03 13:11:50 +08:00
echo_g "=== Done listing joined channels ==="
2018-07-04 17:16:42 +08:00
echo