master - tests: skip test when gcore cannot catch securetest
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ada5728c72e4620c54e4786f31ca5e45cf75d1b0 Commit: ada5728c72e4620c54e4786f31ca5e45cf75d1b0 Parent: bc13c7d2469d1c3fc1f8d76f9f93c9d594496bf0 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Sep 1 21:39:47 2020 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Sep 1 23:40:24 2020 +0200
tests: skip test when gcore cannot catch securetest
--- test/shell/dmsecuretest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
test/shell/dmsecuretest.sh +2 -1
@@ -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