scripts/jenkins,veyron/examples: test.sh and related tweaks.

- scripts in scripts/jenkins and the test scripts now
  run succesfully on darwin as well as linux
- now use the same "pattern" for integration tests in test.sh
  TODO: The current scheme of using "go build" for each binary
  is wasteful since compilation of common dependencies is not
  shared. Need to figure out an alternative to speed these
  tests up considerably.
- fixed bug in tunneld on darwin where the MAC address was not being
  computed correctly (so tunnel/hwaddr/<MAC> was not being published)
- fixed bug in coverage analysis script where the GOPATH was set
  incorrectly
- said scripts now conform to the Google shell style guide
  (or at least as much as I could catch before feeling like a zombie)

Change-Id: I8775354c85ae38238b74d799b11b8b777785469d
2 files changed
tree: 464abdefc4ffa8de1e5e53605b41e759e4e75c6e
  1. lib/
  2. tunneld/
  3. vsh/
  4. tunnel.vdl
  5. tunnel.vdl.go