Debian Codegraph @

debian/tests/run-unit-test

raw
1 #!/bin/sh
2
3 export GOPATH=/usr/share/gocode
4 export GO111MODULE=off
5
6 # This is done to avoid keyverification prompt during autopkgtest
7 mkdir -p $HOME/.ssh
8 chmod 700 $HOME/.ssh
9 echo "StrictHostKeyChecking no" >> $HOME/.ssh/config
10 chmod 600 $HOME/.ssh/config
11
12 go test -v
13
14 # Cleanup
15 rm -rf $HOME/.ssh