blob: 0ec18b16f62ba29b6c75c7e1051f324c251e4dfa [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 != 108 {
t.Errorf("Expected max socket path length to be 108 on linux, got %d instead", length)
}
}