[RTEMS Project] #4951: rtems-tools fail on FreeBSD to get number of cores

RTEMS trac trac at rtems.org
Tue Aug 29 01:20:30 UTC 2023


#4951: rtems-tools fail on FreeBSD to get number of cores
-------------------------+-------------------------------------
 Reporter:  Chris Johns  |       Owner:  Chris Johns <chrisj@…>
     Type:  defect       |      Status:  closed
 Priority:  normal       |   Milestone:  6.1
Component:  tool         |     Version:  6
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+-------------------------------------
Changes (by Chris Johns <chrisj@…>):

 * owner:  (none) => Chris Johns <chrisj@…>
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"3ea0c249346fda427bf0d3c169aa3e7c2a521df8/rtems-tools"
 3ea0c24/rtems-tools]:
 {{{
 #!CommitTicketReference repository="rtems-tools"
 revision="3ea0c249346fda427bf0d3c169aa3e7c2a521df8"
 rtemstoolkit: Fix shell execution

 The fixes to parse the command along with the pipe options broke
 a simple shell command such as '/sbin/sysctl hw.ncpu' on FreeBSD.
 This patch fixes the shell command by passing a string for the
 various options.

 The unit test has been updated to catch errors and report them.

 Closes #4951
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4951#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list