[PATCH v4 2/2] test: simplify spawning extra test processes

Mcnamara, John john.mcnamara at intel.com
Wed Apr 22 10:20:46 CEST 2026




________________________________
From: Bruce Richardson <bruce.richardson at intel.com>
Sent: Tuesday, April 21, 2026 8:52 PM
To: dev at dpdk.org <dev at dpdk.org>
Cc: Richardson, Bruce <bruce.richardson at intel.com>; Adam Hassick <ahassick at iol.unh.edu>
Subject: [PATCH v4 2/2] test: simplify spawning extra test processes

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.

Acked-by: John McNamara <john.mcnamara at intel.com>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20260422/bece1b3a/attachment.htm>


More information about the dev mailing list