From fee09f0964bd64dee982eb615a6853e770ad0a4d Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 1 May 2015 13:26:07 +0200 Subject: [PATCH] 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. --- test/lib/lvm-wrapper.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/lib/lvm-wrapper.sh b/test/lib/lvm-wrapper.sh index 58401751e..178c45b58 100644 --- a/test/lib/lvm-wrapper.sh +++ b/test/lib/lvm-wrapper.sh @@ -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