github.com/zhyoulun/cilium@v1.6.12/contrib/scripts/check-missing-tags-in-tests.sh (about) 1 #!/usr/bin/env bash 2 3 set -e 4 5 if grep -L --include \*_test.go '// +build' . -r | grep -v vendor | grep -v test/ ; then 6 echo "Test file(s) does not contain a tag privileged_tests or !privileged_tests tags" 7 exit 1 8 fi