mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-28 13:08:38 +00:00
hide any messages from tee about short writes when pipe aborted
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
82c391f47f
commit
dde7f73985
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user