Use golden files for tests that expect end-of-line whitespace

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin
2017-09-07 17:50:44 -04:00
parent af94015b8c
commit 51587de1c4
13 changed files with 67 additions and 62 deletions

View File

@ -11,7 +11,7 @@ for pkg in "$@"; do
-coverprofile=profile.out \
-covermode=atomic \
"${pkg}"
if test -f profile.out; then
cat profile.out >> coverage.txt
rm profile.out