commit 4448acec363052c16f7cf696fbe3eb84beb73a94 parent 47e88c9e183fbea80785cbabdef8d32313c0838b Author: Florian Dold <florian@dold.me> Date: Mon, 8 Nov 2021 15:12:48 +0100 tests: remove one C reducer specific check Diffstat:
| M | src/cli/test_anastasis_reducer_enter_secret.sh | | | 17 | +++++++++++------ |
1 file 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 @@ -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