All of lore.kernel.org
 help / color / mirror / Atom feed
* master - tests: skip test when gcore cannot catch securetest
@ 2020-09-01 21:41 Zdenek Kabelac
  0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2020-09-01 21:41 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ada5728c72e4620c54e4786f31ca5e45cf75d1b0
Commit:        ada5728c72e4620c54e4786f31ca5e45cf75d1b0
Parent:        bc13c7d2469d1c3fc1f8d76f9f93c9d594496bf0
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Tue Sep 1 21:39:47 2020 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
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(-)

diff --git a/test/shell/dmsecuretest.sh b/test/shell/dmsecuretest.sh
index 144b1f4ae..6fbdb893c 100644
--- a/test/shell/dmsecuretest.sh
+++ b/test/shell/dmsecuretest.sh
@@ -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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-01 21:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-01 21:41 master - tests: skip test when gcore cannot catch securetest Zdenek Kabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.