blob: b5bca981deb750339679f0c893864e1a8e53a588 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package server
import "testing"
func TestMaxSockPathLen(t *testing.T) {
if length := GetMaxSockPathLen(); length != 107 {
t.Errorf("Expected max socket path length to be 107 on linux, got %d instead", length)
}
}