summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-09-06 14:59:10 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-09-06 15:01:11 +0200
commit337053c56a2d288337449067510301d5a2e4eec5 (patch)
tree16708ff52e9d8aaf130eae28be556abc22ebbbd9 /test/lib
parent52b56204764e421b693d94fa38834d71e29deced (diff)
downloadlvm2-337053c56a2d288337449067510301d5a2e4eec5.tar.gz
tests: remove all debug logs when using die
Since die is called from a shell script, there is no need to report any recent lvm2 command debug traces.
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/utils.sh b/test/lib/utils.sh
index 0e41589bd..1d1ed48bf 100644
--- a/test/lib/utils.sh
+++ b/test/lib/utils.sh
@@ -15,7 +15,7 @@ IFS_NL='
'
die() {
- rm -f debug.log
+ rm -f debug.log*
echo -e "$@" >&2
return 1
}