Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem about core dump #682

Closed
AaronDot opened this issue May 18, 2020 · 3 comments
Closed

The problem about core dump #682

AaronDot opened this issue May 18, 2020 · 3 comments

Comments

@AaronDot
Copy link

Hi,
I find some test cases, such as kill11 and mmap16, that will produce the core dump in the system.
But these test cases are still passed at last.
Is this normal?
How can I explain it?

@metan-ucw
Copy link
Member

This is a kernel testsuite some test are crashing on purpose since we need to (ideally) cover all codepaths in the kernel.

@wangli5665
Copy link
Member

And we could also add tst_no_corefile(0) in the target process to avoid dumping core file if possible.

i.e like what we do for testcases/kernel/syscalls/pkeys/pkey01.c
https://github.com/linux-test-project/ltp/blob/master/include/tst_coredump.h

@AaronDot
Copy link
Author

And we could also add tst_no_corefile(0) in the target process to avoid dumping core file if possible.

i.e like what we do for testcases/kernel/syscalls/pkeys/pkey01.c
https://github.com/linux-test-project/ltp/blob/master/include/tst_coredump.h

OK,I see.
I will have a try!

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants