提交 4a2ebcf0 编写于 作者: P Phil Mesnier

#777 fixed up test script references to renamed data directory

上级 c88f0eb3
......@@ -93,7 +93,7 @@ LOG_FILE=eosd_run_test.log
programs/launcher/launcher --eosd "--plugin eosio::db_plugin --mongodb-uri $DB"
verifyErrorCode "launcher"
sleep 60
count=`grep -c "generated block" tn_data_0/stderr.txt`
count=`grep -c "generated block" tn_data_00/stderr.txt`
if [[ $count == 0 ]]; then
error "FAILURE - no blocks produced"
fi
......@@ -461,10 +461,10 @@ while [ "$NEXT_BLOCK_NUM" -le "$HEAD_BLOCK_NUM" ]; do
NEXT_BLOCK_NUM=$((NEXT_BLOCK_NUM+1))
done
ASSERT_ERRORS="$(grep Assert tn_data_0/stderr.txt)"
count=`grep -c Assert tn_data_0/stderr.txt`
ASSERT_ERRORS="$(grep Assert tn_data_00/stderr.txt)"
count=`grep -c Assert tn_data_00/stderr.txt`
if [ $count != 0 ]; then
error "FAILURE - Assert in tn_data_0/stderr.txt"
error "FAILURE - Assert in tn_data_00/stderr.txt"
fi
killAll
......
......@@ -39,11 +39,11 @@ error()
(>&2 echo $1)
killAll
echo =================================================================
echo Contents of tn_data_0/config.ini:
cat tn_data_0/config.ini
echo Contents of tn_data_00/config.ini:
cat tn_data_00/config.ini
echo =================================================================
echo Contents of tn_data_0/stderr.txt:
cat tn_data_0/stderr.txt
echo Contents of tn_data_00/stderr.txt:
cat tn_data_00/stderr.txt
echo =================================================================
echo Contents of test_walletd_output.log:
cat test_walletd_output.log
......@@ -121,7 +121,7 @@ if [ "$SERVER" == "localhost" ]; then
programs/launcher/launcher
verifyErrorCode "launcher"
sleep 7
count=`grep -c "generated block" tn_data_0/stderr.txt`
count=`grep -c "generated block" tn_data_00/stderr.txt`
if [[ $count == 0 ]]; then
error "FAILURE - no blocks produced"
fi
......@@ -492,10 +492,10 @@ while [ "$NEXT_BLOCK_NUM" -le "$HEAD_BLOCK_NUM" ]; do
done
if [ "$SERVER" == "localhost" ]; then
ASSERT_ERRORS="$(grep Assert tn_data_0/stderr.txt)"
count=`grep -c Assert tn_data_0/stderr.txt`
ASSERT_ERRORS="$(grep Assert tn_data_00/stderr.txt)"
count=`grep -c Assert tn_data_00/stderr.txt`
if [ "$count" != "0" ]; then
error "FAILURE - Assert in tn_data_0/stderr.txt"
error "FAILURE - Assert in tn_data_00/stderr.txt"
fi
fi
......@@ -503,4 +503,3 @@ killAll
cleanup
echo "END" >> $TEST_OUTPUT
echo SUCCESS!
......@@ -99,9 +99,9 @@ fi
echo ERROR: $lines reports out of $total_nodes and prods = $prodsfound
programs/launcher/launcher -k 15
echo =================================================================
echo Contents of tn_data_0/config.ini:
cat tn_data_0/config.ini
echo Contents of tn_data_00/config.ini:
cat tn_data_00/config.ini
echo =================================================================
echo Contents of tn_data_0/stderr.txt:
cat tn_data_0/stderr.txt
echo Contents of tn_data_00/stderr.txt:
cat tn_data_00/stderr.txt
exit 1
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册