<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>From:</b> Bruce Richardson <bruce.richardson@intel.com><br>
<b>Sent:</b> Tuesday, April 21, 2026 8:52 PM<br>
<b>To:</b> dev@dpdk.org <dev@dpdk.org><br>
<b>Cc:</b> Richardson, Bruce <bruce.richardson@intel.com>; Adam Hassick <ahassick@iol.unh.edu><br>
<b>Subject:</b> [PATCH v4 2/2] test: simplify spawning extra test processes </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-size: 11pt;">A number of tests require secondary processes or additional primary<br>
process instances, so we have common code for managing that in the test<br>
binary. Simplify that code a little, in the process removing dependency<br>
on procfs on FreeBSD, by using argv[0] as the binary to run, rather than<br>
querying procfs for /proc/self/exe (or /proc/curproc/file on FreeBSD).<br>
The unit tests should never be running in a way that leads to argv[0]<br>
not being the actual test binary.</div>
<div style="font-size: 11pt;"><br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Acked-by: John McNamara <john.mcnamara@intel.com></div>
<div style="font-size: 11pt;"><br>
</div>
<div style="font-size: 11pt;"><br>
<br>
</div>
</body>
</html>