mirror of
https://github.com/safing/portmaster
synced 2025-09-02 10:39:22 +00:00
18 lines
228 B
Go
18 lines
228 B
Go
// +build linux
|
|
|
|
package proc
|
|
|
|
import (
|
|
"log"
|
|
"testing"
|
|
)
|
|
|
|
func TestProcessFinder(t *testing.T) {
|
|
|
|
updatePids()
|
|
log.Printf("pidsByUser: %v", pidsByUser)
|
|
|
|
pid, _ := GetPidOfInode(1000, 112588)
|
|
log.Printf("pid: %d", pid)
|
|
|
|
}
|