diff options
Diffstat (limited to 'src/cli')
-rwxr-xr-x | src/cli/test_anastasis_reducer_enter_secret.sh | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh b/src/cli/test_anastasis_reducer_enter_secret.sh index a9e19b3..8fb8b60 100755 --- a/src/cli/test_anastasis_reducer_enter_secret.sh +++ b/src/cli/test_anastasis_reducer_enter_secret.sh @@ -327,13 +327,18 @@ then exit_fail "Expected new state to be 'TRUTHS_PAYING', got '$STATE'" fi -TMETHOD=`jq -r -e '.policies[0].methods[0].truth.type' < $TFILE` -if test $TMETHOD != "question" -then - exit_fail "Expected method to be >='question', got $TMETHOD" -fi +# FIXME: this test is specific to how the +# C reducer stores state (redundantly!), should converge eventually! + +#TMETHOD=`jq -r -e '.policies[0].methods[0].truth.type' < $TFILE` +#if test $TMETHOD != "question" +#then +# exit_fail "Expected method to be >='question', got $TMETHOD" +#fi +# +#echo " OK" + -echo " OK" #Pay echo -en $COLOR$BOLD"Withdrawing amount to wallet ..."$NORM$NOCOLOR |