test_swap: parent sleep before exit to make sure child has pageout data
Signed-off-by: Wenchao Hao <haowenchao@xiaomi.com>
This commit is contained in:
parent
3af77ad384
commit
288e3078f5
|
|
@ -56,6 +56,7 @@ int main()
|
|||
|
||||
if (pid) {
|
||||
munmap(p, SIZE);
|
||||
sleep(3);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue