Skip to contentSkip to conversation

qemu-iotests: fix test 039

RFC PATCH Max Reitz 1 participant 1 message Nov 20, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Max Reitz

author
#1 lore raw
Quoted 5 lines · Mao Chuan Li

The intention is to disable the core dump, if there is another way we can achieve that, switching to root is not necessary. Any other alternative way? Thanks!

Mao Chuan Li

Hi,

I cannot think of a way; on the other hand, I don't think disabling the core dump is necessary either. Simply filtering out '(core dumped) ' is not pretty but still suffices for me (we can put that into a filter function in common.filter and if other people see other messages for a core dump, they can expand that list).

If we really want to disable core dumps, we should change qemu-io not to use abort() on -c abort (raise(SIGKILL) seems like a good alternative to me); or, alternatively, introduce a new command 'kill' which then does raise(SIGKILL) so we don't have to break compatibility.

Max