(t *testing.T)
| 26 | ) |
| 27 | |
| 28 | func TestNetUnix(t *testing.T) { |
| 29 | fs, err := NewFS(procTestFixtures) |
| 30 | if err != nil { |
| 31 | t.Fatalf("failed to open procfs: %v", err) |
| 32 | } |
| 33 | |
| 34 | got, err := fs.NetUNIX() |
| 35 | if err != nil { |
| 36 | t.Fatalf("failed to get UNIX socket data: %v", err) |
| 37 | } |
| 38 | |
| 39 | testNetUNIX(t, checkInode, got) |
| 40 | } |
| 41 | |
| 42 | func TestNetUnixNoInode(t *testing.T) { |
| 43 | fs, err := NewFS(procTestFixtures) |
nothing calls this directly
no test coverage detected
searching dependent graphs…