diff --git a/scripts/test.sh b/scripts/test.sh index c7f27f5..aa44c7b 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -15,4 +15,6 @@ go build -o "bind_query_exporter" ../ echo "Running tests..." cd ../ -go test +touch queries.log +BIND_QUERY_EXPORTER_LOG="queries.log" go test +rm queries.log