summaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-11-08 15:12:48 +0100
committerFlorian Dold <florian@dold.me>2021-11-08 15:12:48 +0100
commit4448acec363052c16f7cf696fbe3eb84beb73a94 (patch)
tree5522b8de2bef8aff372b70be732ca1214fee9de2 /src/cli
parent47e88c9e183fbea80785cbabdef8d32313c0838b (diff)
downloadanastasis-4448acec363052c16f7cf696fbe3eb84beb73a94.tar.gz
anastasis-4448acec363052c16f7cf696fbe3eb84beb73a94.tar.bz2
anastasis-4448acec363052c16f7cf696fbe3eb84beb73a94.zip
tests: remove one C reducer specific check
Diffstat (limited to 'src/cli')
-rwxr-xr-xsrc/cli/test_anastasis_reducer_enter_secret.sh17
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