1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-08-29 01:49:28 +03:00

tests: log parallel debug.log usage as problem

This commit is contained in:
Zdenek Kabelac
2015-04-13 16:30:36 +02:00
parent 0457224feb
commit 0aef2b719f

View File

@ -39,7 +39,10 @@ case "$CMD" in
esac
# Capture parallel users of debug.log file
test -z "$(fuser debug.log 2>/dev/null)" || { echo "Test suite problem: \"debug.log\" is still in use!" >&2 ; return 1 ; }
test -z "$(fuser debug.log 2>/dev/null)" || {
echo "TEST WARNING: \"debug.log\" is still in use while running $CMD $@" >&2
fuser -v debug.log >&2
}
# the exec is important, because otherwise fatal signals inside "not" go unnoticed
if test -n "$abs_top_builddir"; then