2018-06-19 10:01:32 +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
|
|
|
|
|
|
|
|
## Join all the peers to the channel
|
|
|
|
echo_b "=== Getting info of channel ${APP_CHANNEL}... ==="
|
|
|
|
|
2018-09-17 10:44:09 +08:00
|
|
|
#set -x
|
|
|
|
|
2018-06-19 10:01:32 +08:00
|
|
|
for org in "${ORGS[@]}"
|
|
|
|
do
|
|
|
|
for peer in "${PEERS[@]}"
|
|
|
|
do
|
|
|
|
channelGetInfo ${APP_CHANNEL} $org $peer
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
echo_g "=== Get info of channel ${APP_CHANNEL} Complete ==="
|
|
|
|
|
|
|
|
echo
|