diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2015-05-01 13:26:07 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2015-05-01 15:07:59 +0200 |
commit | fee09f0964bd64dee982eb615a6853e770ad0a4d (patch) | |
tree | ae7f1398cb70ffddb5e47c98c4805c239cc09d5e | |
parent | 4ce5b5fdf3e2758adf7e1313c98381071de85056 (diff) | |
download | lvm2-fee09f0964bd64dee982eb615a6853e770ad0a4d.tar.gz |
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.
-rw-r--r-- | test/lib/lvm-wrapper.sh | 8 |
1 files 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 |