1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: hide uninteresting output

We don't care about diff output.
This commit is contained in:
Zdenek Kabelac 2015-02-17 15:53:24 +01:00
parent 973afcbb20
commit 10b8d2a4ea

View File

@ -193,7 +193,7 @@ teardown_devs() {
test ! -f LOOPFILE || rm -f $(< LOOPFILE)
fi
rm -f DEVICES # devs is set in prepare_devs()
not diff LOOP BACKING_DEV || rm -f BACKING_DEV
not diff LOOP BACKING_DEV >/dev/null 2>&1 || rm -f BACKING_DEV
rm -f LOOP
# Attempt to remove any loop devices that failed to get torn down if earlier tests aborted