tempfile is a deprecated debianism

As noted in its man page.
This commit is contained in:
David Wragg committed 2015-04-13 20:37:12 +01:00
1 parent 805005e632
commit bc9bb9e4ae
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ $(DOCKER_DISTRIB):
tests:
echo "mode: count" > profile.cov
for dir in $$(find . -type f -name '*_test.go' | xargs -n1 dirname | sort -u); do \
output=$$(tempfile -p cover); \
output=$$(mktemp cover.XXXXXXXXXX); \
go test -tags netgo -covermode=count -coverprofile=$$output $$dir; \
if [ -f $$output ]; then \
tail -n +2 <$$output >>profile.cov; \