testsuite: Improve reliability

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Merge pull request #65 from stgraber/master

testsuite: Improve reliability
testsuite: Fix some regressions

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Merge pull request #66 from stgraber/master

testsuite: Fix some regressions
remote add: present server certificate to user

The client does not yet store the certificate for later
verification on all connects.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
travis: require building with golang 1.3

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
have client store and verify server certificates

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Move reading of input from stdin to a common helper

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
go fmt

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
fix pathname to remove when removing server cert

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
reorder imports in remote.go

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
help the testsuite to pass

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>