inverse grep to find 1001 block success

This commit is contained in:
NikVolf 2016-12-15 12:55:56 +01:00
parent 81f7ec14fe
commit cce1d6d368
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
./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'
GREP_COLOR="01;32" grep 'BitcoindComparisonTool.main: Block "b1001" completed processing' regtests-full.log
result=$?
if [ $result -eq 1 ]