1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

tests: disable usage of fuser

Seems we captured problems with debug.log overwrite,
so avoid quite expensive usage of fuser tool with each lvm command.
This commit is contained in:
Zdenek Kabelac 2015-05-01 13:26:07 +02:00
parent 4ce5b5fdf3
commit fee09f0964

View File

@ -39,10 +39,10 @@ case "$CMD" in
esac
# Capture parallel users of debug.log file
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
}
#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