File: errno_linux_test.go

package info (click to toggle)
golang-github-cilium-ebpf 0.17.3%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,688 kB
  • sloc: ansic: 1,259; makefile: 127; python: 113; awk: 29; sh: 24
file content (13 lines) | stat: -rw-r--r-- 224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
package unix

import (
	"testing"

	"github.com/go-quicktest/qt"
	"golang.org/x/sys/unix"
)

func TestErrnoIsUnix(t *testing.T) {
	qt.Assert(t, qt.ErrorIs(EPERM, unix.EPERM))
	qt.Assert(t, qt.ErrorIs(ENOENT, unix.ENOENT))
}