mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: skip test when gcore cannot catch securetest
This commit is contained in:
parent
bc13c7d246
commit
ada5728c72
@ -45,7 +45,8 @@ sleep .5
|
||||
dmsetup status "$DMTEST"
|
||||
|
||||
# generate core file for running&sleeping binary
|
||||
gcore "$PID" | tee out
|
||||
gcore "$PID" | tee out || skip
|
||||
|
||||
# check we capture core while dmsecuretest was already sleeping
|
||||
grep "nanosleep" out || grep kernel_vsyscall out
|
||||
kill "$PID" || true
|
||||
|
Loading…
Reference in New Issue
Block a user