1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 16:07:42 +08:00

cat iptb logs on iptb failure (for debugging CI)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2018-06-03 12:04:00 -07:00
parent f7a980926b
commit 8f95badb12

View File

@ -17,6 +17,17 @@ check_has_connection() {
grep "ipfs" "swarm_peers_$node" >/dev/null
}
iptb() {
if ! command iptb "$@"; then
case "$1" in
start|stop|connect)
test_fsh command iptb logs '*'
;;
esac
return 1
fi
}
startup_cluster() {
num_nodes="$1"
shift