Skip to contentSkip to conversation

master - tests: disable usage of fuser

PATCH Zdenek Kabelac 1 participant 1 message May 1, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=fee09f0964bd64dee982eb615a6853e770ad0a4d
Commit:        fee09f0964bd64dee982eb615a6853e770ad0a4d
Parent:        4ce5b5fdf3e2758adf7e1313c98381071de85056
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri May 1 13:26:07 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri May 1 15:07:59 2015 +0200

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 files changed, 4 insertions(+), 4 deletions(-)
test/lib/lvm-wrapper.sh +4 -4
index 5840175..178c45b 100644
@@ -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