summaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/Makefile.am1
-rwxr-xr-xsrc/cli/test_anastasis_reducer_recovery_hanging.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am
index dccd9af..44cad27 100644
--- a/src/cli/Makefile.am
+++ b/src/cli/Makefile.am
@@ -21,6 +21,7 @@ check_SCRIPTS = \
test_anastasis_reducer_enter_secret.sh \
test_anastasis_reducer_recovery_enter_user_attributes.sh \
test_anastasis_reducer_recovery_no_pay.sh \
+ test_anastasis_reducer_recovery_hanging.sh \
test_iban.sh
diff --git a/src/cli/test_anastasis_reducer_recovery_hanging.sh b/src/cli/test_anastasis_reducer_recovery_hanging.sh
index dba9ee4..f67b850 100755
--- a/src/cli/test_anastasis_reducer_recovery_hanging.sh
+++ b/src/cli/test_anastasis_reducer_recovery_hanging.sh
@@ -3,7 +3,7 @@
# Runs tests with a 'hanging' Anastasis provider.
set -eu
-set -x
+#set -x
# Exit, with status code "skip" (no 'real' failure)
function exit_skip() {
@@ -22,6 +22,7 @@ function cleanup()
{
for n in `jobs -p`
do
+ kill -SIGCONT $n # in case suspended...
kill $n 2> /dev/null || true
done
rm -rf $CONF $R1FILE $R2FILE $B1FILE $B2FILE $TMP_DIR
@@ -190,7 +191,6 @@ kill -SIGCONT $PPID_4
if test $DELTA -ge 5
then
- bash
exit_fail "Reducer hangs on suspended provider in 'enter_user_attributes'"
fi