libaudit-go
libaudit-go copied to clipboard
libaudit-go requires root to run go tests
Right now go test fails unless the test is run as root, and netlink is available
--- FAIL: TestNetlinkConnection (0.00s) libaudit_test.go:43: NewNetlinkConnection failed not root user, exiting panic: runtime error: invalid memory address or nil pointer dereference panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x0 pc=0x493db8]
It would be good if the tests could run as a regular user, potentially using an emulated netlink socket or something with a consistent event feed