fork: memory leak detection test.

Change-Id: I9c64f8fdaee15642b3d1d2d7d869927b0bcd6511
This commit is contained in:
TOIDA,Suguru
2019-09-11 10:46:57 +09:00
committed by Masamichi Takagi
parent f2460695c4
commit 299d47abf5
9 changed files with 1053 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
==========
How to run
==========
(1) cd <mckernel>
(2) patch -p1 < test/signalonfork+wait/error_injection.patch
(3) Build McKernel
(4) cd <mckernel>/test/signalonfork+wait
(5) make
(6) edit "$HOME/.mck_test_config"
* NUMA nodes should be 0 only
(7) sh ./run.sh
(8) sh ./run_error_injection.sh
==========================
sample of .mck_test_config
==========================
% cat "$HOME/.mck_test_config"
# Config file for McKernel tests
: ${MCK_DIR:=/opt/usr/ihk-mckernel}
: ${BIN:=$MCK_DIR/bin}
: ${SBIN:=$MCK_DIR/sbin}
: ${OSTEST:=}
: ${LTP:=}
: ${BOOTPARAM:=-c 4-15 -m 16G}
: ${MCKERNEL_VERSION:=1.5.0}
============
What to test
============
Check for memory leaks when a fork system call and delivery of the signal occur simultaneously.
--
README COPYRIGHT FUJITSU LIMITED 2019