diff --git a/test b/test index 242a75aa2..99d3d92fa 100755 --- a/test +++ b/test @@ -102,7 +102,7 @@ function fmt_tests { fi echo "Checking for license header..." - licRes=$(for file in $(find . -type f -iname '*.go' ! -path './Godeps/*'); do + licRes=$(for file in $(find . -type f -iname '*.go' ! -path './vendor/*'); do head -n3 "${file}" | grep -Eq "(Copyright|generated|GENERATED)" || echo -e " ${file}" done;) if [ -n "${licRes}" ]; then