mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
18 lines
350 B
Go
18 lines
350 B
Go
// Copyright Safing ICS Technologies GmbH. Use of this source code is governed by the AGPL license that can be found in the LICENSE file.
|
|
|
|
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)
|
|
|
|
}
|