test: remove the _testbin folder
The test script uses a temporary folder `$(pwd)/_testbin` to avoid
clobbering over real builds. Clean this up at the end of test.
@@ -15,6 +15,7 @@ cd $(dirname $0)
source ./env
# Use an alternate bin to avoid clobbering output from ./build
export GOBIN="$(pwd)/_testbin"
+trap "rm -rf _testbin/" EXIT
# PKG may be passed in from ./cover
[[ -z "$PKG" ]] && PKG="./..."
