In order to avoid lint errors due to the deprecation of the top-level securejoin methods ported from libpathrs, we need to adjust internal/pathrs to use the new pathrs-lite subpackage instead. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This includes a fix to avoid doing import "testing" in non-_test.go code. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>