feat: create standalone native fnOS repository
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package nginx
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestIsPIDAliveCurrentProcess(t *testing.T) {
|
||||
pid := os.Getpid()
|
||||
if !isPIDAlive(pid) {
|
||||
t.Fatalf("expected current pid %d to be alive", pid)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user