integ-cli: skip TestCliProxyProxyTCPSock on remote daemon

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
This commit is contained in:
Ahmet Alp Balkan 2015-02-24 12:04:33 -08:00
Родитель d0bc3537d7
Коммит 6a9edfdc3b
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -21,6 +21,7 @@ func TestCliProxyDisableProxyUnixSock(t *testing.T) {
// Can't use localhost here since go has a special case to not use proxy if connecting to localhost
// See http://golang.org/pkg/net/http/#ProxyFromEnvironment
func TestCliProxyProxyTCPSock(t *testing.T) {
testRequires(t, SameHostDaemon)
// get the IP to use to connect since we can't use localhost
addrs, err := net.InterfaceAddrs()
if err != nil {