2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2020-05-31 22:02:13 +01:00
|
|
|
|
|
|
|
package netns
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
2021-06-30 05:13:00 +01:00
|
|
|
func TestSocketMarkWorks(t *testing.T) {
|
|
|
|
_ = socketMarkWorks()
|
|
|
|
// we cannot actually assert whether the test runner has SO_MARK available
|
|
|
|
// or not, as we don't know. We're just checking that it doesn't panic.
|
|
|
|
}
|