test: configure fleet API in functional tests

Did not mean to add this file. It's too subjective to carry this in the repo. I'll pull it back out. 



> On Oct 29, 2014, at 7:09 PM, Jonathan Boulle <notifications@github.com> wrote:
> 
> In functional/bootstrap:
> 
> > @@ -0,0 +1,10 @@
> > +export PATH=/opt/go/bin:$PATH
> Needs a bit more context imo. I've been using this script but forgot to add it to the repo
> 
> ; cat functional/run.sh 
> #!/bin/bash
> #
> # WARNING: this script is highly environment-specific and intended to be indicative only. 
> # See README.md for more details.
> #
> export GOROOT="$(pwd)/go"
> export PATH="${GOROOT}/bin:$PATH"
> cd fleet
> ssh-add functional/fixtures/id_rsa
> export GOPATH="$(pwd)/gopath"
> export FLEETD_BIN="$(pwd)/bin/fleetd"
> export FLEETCTL_BIN="$(pwd)/bin/fleetctl"
> sudo -E env PATH=$PATH go test github.com/coreos/fleet/functional -v
> —
> Reply to this email directly or view it on GitHub.