From dde7f73985c2f24dbab03c74ff01a649e1e56cf9 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Tue, 9 Aug 2016 17:40:32 +0100 Subject: [PATCH] hide any messages from tee about short writes when pipe aborted Signed-off-by: Justin Cormack --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0fdf8fd31..c85f867c5 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ test: Dockerfile.test all docker build -f Dockerfile.test -t mobytest:build . touch test.log docker run --rm mobytest:build 2>&1 | tee -a test.log & - tail -f test.log | grep -m 1 -q 'Moby test suite ' + tail -f test.log 2>/dev/null | grep -m 1 -q 'Moby test suite ' cat test.log | grep -q 'Moby test suite PASSED' .PHONY: clean