From 10b8d2a4ea538c21cf991fd608de47a9c18f85f4 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 17 Feb 2015 15:53:24 +0100 Subject: [PATCH] tests: hide uninteresting output We don't care about diff output. --- test/lib/aux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/aux.sh b/test/lib/aux.sh index f33b62e64..d3a33829b 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -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