summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-04-22 09:01:49 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-04-22 09:09:26 +0200
commit3f8da600795f65d7d8a692db35e7442899a40dc8 (patch)
treeb85240b9c1e28613e50b72566b32fa670ee1e4c3
parentafdff405423f1d40db17382db4cf4b0b1dbdbfae (diff)
downloadlvm2-3f8da600795f65d7d8a692db35e7442899a40dc8.tar.gz
tests: notify drops log always
Even on success remove debug.log here.
-rw-r--r--test/lib/aux.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index 55dd60b73..737050d51 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -124,7 +124,9 @@ lvmetad_dump() {
notify_lvmetad() {
if test -e LOCAL_LVMETAD; then
- LVM_LOG_FILE_EPOCH= pvscan --cache "$@" || rm -f debug.log
+ # Ignore results here...
+ LVM_LOG_FILE_EPOCH= pvscan --cache "$@" || true
+ rm -f debug.log
fi
}