aboutsummaryrefslogtreecommitdiff
path: root/src/cli/test_anastasis_reducer_recovery_hanging.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/test_anastasis_reducer_recovery_hanging.sh')
-rwxr-xr-xsrc/cli/test_anastasis_reducer_recovery_hanging.sh4
1 files changed, 2 insertions, 2 deletions
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 @@
3# Runs tests with a 'hanging' Anastasis provider. 3# Runs tests with a 'hanging' Anastasis provider.
4 4
5set -eu 5set -eu
6set -x 6#set -x
7 7
8# Exit, with status code "skip" (no 'real' failure) 8# Exit, with status code "skip" (no 'real' failure)
9function exit_skip() { 9function exit_skip() {
@@ -22,6 +22,7 @@ function cleanup()
22{ 22{
23 for n in `jobs -p` 23 for n in `jobs -p`
24 do 24 do
25 kill -SIGCONT $n # in case suspended...
25 kill $n 2> /dev/null || true 26 kill $n 2> /dev/null || true
26 done 27 done
27 rm -rf $CONF $R1FILE $R2FILE $B1FILE $B2FILE $TMP_DIR 28 rm -rf $CONF $R1FILE $R2FILE $B1FILE $B2FILE $TMP_DIR
@@ -190,7 +191,6 @@ kill -SIGCONT $PPID_4
190 191
191if test $DELTA -ge 5 192if test $DELTA -ge 5
192then 193then
193 bash
194 exit_fail "Reducer hangs on suspended provider in 'enter_user_attributes'" 194 exit_fail "Reducer hangs on suspended provider in 'enter_user_attributes'"
195fi 195fi
196 196