summaryrefslogtreecommitdiffhomepage
path: root/tools/grep_avoided_functions.sh
AgeCommit message (Collapse)Author
2019-08-20Fix tools testCarl Baldwin
This changes the test to no longer reference $GOPATH. Instead, it removes `github.com/osrg/gobgp/` fore calling grep from the package name before calling grep so that it greps a location relative to wherever the script was located when it was called. This should work regardless of $GOPATH. The problem was that in a Travis CI run, the repository is not cloned to the correct spot under $GOPATH and the grep fails because it is looking in the wrong place. The repository is cloned to `/home/travis/build/osrg/gobgp` and GOPATH is set to `/home/travis/gopath` during a Travis run which don't match up.
2018-01-24travis: Script to checkout use of avoided functionsIWASE Yusuke
For the 32-bit platform compatibility, strconv.Atoi() should be replaced by strconv.ParseUint() or strconv.ParseInt(). This scripts prevents the use of these functions which should not be used with some reasons. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>