inverse grep to find 1001 block success
This commit is contained in:
parent
81f7ec14fe
commit
cce1d6d368
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
./target/release/pbtc --regtest --db-cache=192 &
|
./target/release/pbtc --regtest --db-cache=192 &
|
||||||
! java -jar ./tools/compare-tool/pull-tests-be0eef7.jar /tmp/regtest-db 2>&1 | tee regtests-full.log | grep -E --color=auto 'org.bitcoinj.store.BlockStoreException\:|BitcoindComparisonTool.main\: ERROR|bitcoind sent us a block it already had, make sure bitcoind has no blocks!|java.lang.NullPointerException'
|
! java -jar ./tools/compare-tool/pull-tests-be0eef7.jar /tmp/regtest-db 2>&1 | tee regtests-full.log | grep -E --color=auto 'org.bitcoinj.store.BlockStoreException\:|BitcoindComparisonTool.main\: ERROR|bitcoind sent us a block it already had, make sure bitcoind has no blocks!|java.lang.NullPointerException'
|
||||||
|
GREP_COLOR="01;32" grep 'BitcoindComparisonTool.main: Block "b1001" completed processing' regtests-full.log
|
||||||
result=$?
|
result=$?
|
||||||
|
|
||||||
if [ $result -eq 1 ]
|
if [ $result -eq 1 ]
|
||||||
|
|
Loading…
Reference in New Issue