Skip to contentSkip to conversation

master - tests: updates

PATCH Zdenek Kabelac 1 participant 1 message Nov 29, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7da75f41edf15242f582d200e4e18379dc529db0
Commit:        7da75f41edf15242f582d200e4e18379dc529db0
Parent:        217d647a468c3111738e61e02e56b6744b788a2f
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Nov 23 20:18:22 2018 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Nov 29 23:10:09 2018 +0100

tests: updates

---
 test/shell/dmsecuretest.sh |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
test/shell/dmsecuretest.sh +2 -3
index fca72bf..75ad56d 100644
@@ -42,12 +42,11 @@ PID=$!
 sleep .5
 
 # crypt device should be loaded
-dmsetup table | tee tbl
-grep "$DMTEST" tbl
+dmsetup status "$DMTEST"
 
 # generate core file for running&sleeping binary
 gcore "$PID"
-kill "$PID"
+kill "$PID" || true
 wait
 
 cat cmdout