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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user