carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package stopevidence
4
5import (
6 "errors"
7 "testing"
8)
9
10func TestFDHoldersUnsupported(t *testing.T) {
11 if got, err := FDHolders("/proc", []string{"/data/a.db"}); got != nil || !errors.Is(err, ErrUnsupported) {
12 t.Fatal(got, err)
13 }
14}
15