1
0
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:
Zdenek Kabelac 2020-09-01 21:39:47 +02:00
parent bc13c7d246
commit ada5728c72

View File

@ -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