add more libiscsi test cases

This commit is contained in:
Lei Xue
2016-10-06 20:01:35 +08:00
parent 8791d14cd2
commit 8b135f1125
3 changed files with 19 additions and 21 deletions

View File

@@ -250,12 +250,6 @@ func (s *Server) newServer(proto, addr string) ([]*HTTPServer, error) {
return nil, err
}
ls = append(ls, l)
case "unix":
l, err := sockets.NewUnixSocket(addr, s.cfg.SocketGroup)
if err != nil {
return nil, fmt.Errorf("can't create unix socket %s: %v", addr, err)
}
ls = append(ls, l)
default:
return nil, fmt.Errorf("Invalid protocol format: %q", proto)
}