mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
check: make (successful) tests less noisy.
Particularly, don't show the output for generating 432 blocks! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -9,7 +9,7 @@ INIT=$1
|
||||
# Initially we need 100 blocks so coinbase matures, giving us funds.
|
||||
if [ -n "$INIT" ]; then
|
||||
# To activate segwit via BIP9, we need at least 432 blocks!
|
||||
$CLI generate 432
|
||||
$CLI generate 432 > /dev/null
|
||||
if $CLI getblockchaininfo | tr -s '\012\011 ' ' ' | grep -q '"segwit": { "status": "active",'; then :
|
||||
else
|
||||
echo "Segwit not activated after 432 blocks?" >&2
|
||||
@@ -17,5 +17,5 @@ if [ -n "$INIT" ]; then
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
$CLI generate 1
|
||||
$CLI generate 1 > /dev/null
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user