On Wed, Apr 08, 2026 at 06:44:04PM +0100, Bruce Richardson wrote: > A number of tests require secondary processes or additional primary > process instances, so we have common code for managing that in the test > binary. Simplify that code a little, in the process removing dependency > on procfs on FreeBSD, by using argv[0] as the binary to run, rather than > querying procfs for /proc/self/exe (or /proc/curproc/file on FreeBSD). > The unit tests should never be running in a way that leads to argv[0] > not being the actual test binary. > > Signed-off-by: Bruce Richardson <[email protected]> > Tested-by: Adam Hassick <[email protected]> > --- > app/test/process.h | 20 ++------------------ > 1 file changed, 2 insertions(+), 18 deletions(-) > Recheck-request: loongson-unit-loongarch64
- Re: [PATCH 0/7] Get fast-test suite to run on FreeBS... Bruce Richardson
- [PATCH v2 0/2] Get fast-test suite to run on FreeBSD Bruce Richardson
- [PATCH v2 2/2] test: simplify spawning extra test pr... Bruce Richardson
- Re: [PATCH v2 2/2] test: simplify spawning extra... Thomas Monjalon
- [PATCH v2 1/2] test: fix failing tests on FreeBSD Bruce Richardson
- Re: [PATCH v2 1/2] test: fix failing tests on Fr... Thomas Monjalon
- Re: [PATCH v2 0/2] Get fast-test suite to run on Fre... Adam Hassick
- [PATCH v3 0/2] Get fast-test suite to run on FreeBSD Bruce Richardson
- [PATCH v3 1/2] test: fix failing tests on FreeBSD Bruce Richardson
- [PATCH v3 2/2] test: simplify spawning extra test pr... Bruce Richardson
- Re: [PATCH v3 2/2] test: simplify spawning extra... Bruce Richardson
- [PATCH v4 0/2] Get fast-test suite to run on FreeBSD Bruce Richardson
- [PATCH v4 1/2] test: fix failing tests on FreeBSD Bruce Richardson
- Re: [PATCH v4 1/2] test: fix failing tests on Fr... Mcnamara, John
- [PATCH v4 2/2] test: simplify spawning extra test pr... Bruce Richardson
- Re: [PATCH v4 2/2] test: simplify spawning extra... Mcnamara, John
- Re: [PATCH v4 0/2] Get fast-test suite to run on Fre... David Marchand

