iotests: Fix test 039
authorMax Reitz <mreitz@redhat.com>
Mon, 8 Dec 2014 09:48:12 +0000 (10:48 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 12 Dec 2014 15:48:26 +0000 (15:48 +0000)
commit3f394472c5bca59de5cab9baafdff1984b0213a3
tree42d62d2374ef3d9972b1c55a537d4996790ef47a
parent9e0c3e8df5d1b12517d587d60b2fe587ea252ebe
iotests: Fix test 039

Test 039 used qemu-io -c abort for simulating a qemu crash; however,
abort() generally results in a core dump and ulimit -c 0 is no reliable
way of preventing that. Use "sigraise $(kill -l KILL)" instead to have
it crash without a core dump.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1418032092-16813-4-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/039
tests/qemu-iotests/039.out