diff -r c040f992052f -r 1c52a0eeb952 vendor/github.com/mattn/go-isatty/go.test.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/github.com/mattn/go-isatty/go.test.sh Sun Feb 16 18:54:01 2020 +0100 @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e +echo "" > coverage.txt + +for d in $(go list ./... | grep -v vendor); do + go test -race -coverprofile=profile.out -covermode=atomic "$d" + if [ -f profile.out ]; then + cat profile.out >> coverage.txt + rm profile.out + fi +done