File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ ${gcmd} clerk send --amount 100000 --from ${ACCOUNT_MSIG} --to ${ACCOUNT_A} -L $
7777echo " Auto-detection correctly used new mode on future consensus"
7878
7979# Verify auto-detection used new mode (LMsig field)
80- if ! cat ${TEMPDIR} /auto2.lsig | msgpacktool -d | grep -q ' "lmsig"' ; then
80+ msgpacktool -d < ${TEMPDIR} /auto2.lsig > ${TEMPDIR} /auto2.json
81+ if ! grep -q ' "lmsig"' ${TEMPDIR} /auto2.json; then
8182 echo " ERROR: Auto-detection did not use new mode (LMsig field not found)"
8283 exit 1
8384fi
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ if [ $? -ne 0 ]; then
6565 exit 1
6666fi
6767echo " Auto-detection correctly used legacy mode on v32"
68- if ! cat ${TEMPDIR} /auto2.lsig | msgpacktool -d | grep -q ' "msig"' ; then
68+ msgpacktool -d < ${TEMPDIR} /auto2.lsig > ${TEMPDIR} /auto2.json
69+ if ! grep -q ' "msig"' ${TEMPDIR} /auto2.json; then
6970 echo " ERROR: Auto-detection did not use legacy mode (Msig field not found)"
7071 exit 1
7172fi
You can’t perform that action at this time.
0 commit comments