]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
log: add simple test to verify an internal SEGV doesn't hang 2478/head
authorSage Weil <sage@redhat.com>
Sat, 13 Sep 2014 00:18:01 +0000 (17:18 -0700)
committerSage Weil <sage@redhat.com>
Sat, 13 Sep 2014 00:18:01 +0000 (17:18 -0700)
commita8c943a0e4210aadf96cab4a71e9e7a458e9a422
tree80618dc0ee9e97060d1997dcdcb98847c7a4476e
parente3fe18aabe5f6d39fafe4bc44a77647f65944bef
log: add simple test to verify an internal SEGV doesn't hang

Test that the segv injection works.

Test that a segv while logging something doesn't hang when the signal
handlers are installed.  Note that this fails/hangs without the previous
fix.

Signed-off-by: Sage Weil <sage@redhat.com>
src/log/Log.cc
src/log/Log.h
src/log/test.cc
src/test/signals.cc