Register PPD and release_handler at the same time.

Fix that process will remain even if signal is received between PPD
registration and release_handler registration.

Refs: #1201
Fujitsu: POSTK_DEBUG_TEMP_FIX_64
Change-Id: I571781963578df8cedb327f19298f595cfb137a3
This commit is contained in:
Tomoki Shirasawa
2019-02-08 10:20:58 +09:00
parent f5023c9730
commit ff0395581c
10 changed files with 182 additions and 24 deletions

View File

@@ -75,6 +75,20 @@ if ((USEOSTEST)); then
TESTMCK="$OSTEST/bin/test_mck"
fi
if ((USESTRESSTEST)); then
if [[ -z "$STRESS_TEST" ]]; then
if [[ -f "$HOME/stress_test/bin/signalonfork" ]]; then
STRESS_TEST="$HOME/stress_test"
fi
fi
if [[ ! -x "$STRESS_TEST/bin/signalonfork" ]]; then
echo no STRESS_TEST found $STRESS_TEST >&2
exit 1
fi
STRESSTESTBIN="$STRESS_TEST/bin"
fi
# compat variables
BINDIR="$BIN"
SBINDIR="$SBIN"