docker-compose-files/hyperledger_fabric/latest/scripts/test_channel_list.sh

22 lines
380 B
Bash
Raw Normal View History

2018-06-19 10:01:32 +08:00
#!/bin/bash
# Importing useful functions for cc testing
if [ -f ./func.sh ]; then
2021-03-04 06:06:06 +08:00
source ./func.sh
2018-06-19 10:01:32 +08:00
elif [ -f scripts/func.sh ]; then
2021-03-04 06:06:06 +08:00
source scripts/func.sh
2018-06-19 10:01:32 +08:00
fi
## Create channel
echo_b "=== Listing joined channels... ==="
2021-03-04 06:06:06 +08:00
for org in "${ORGS[@]}"; do
for peer in "${PEERS[@]}"; do
channelList $org $peer
done
2018-06-19 10:01:32 +08:00
done
2018-08-03 13:11:50 +08:00
echo_g "=== Done listing joined channels ==="
2018-06-19 10:01:32 +08:00
echo