HomeFreeBSD

ctladm: print port number with a succesful "port -c" command

Description

ctladm: print port number with a succesful "port -c" command

Make "ctladm port -c" print the port number of the newly successful
port. This way it won't have to be guessed by a subsequent "ctladm
portlist" command. That means it's safe to use it concurrently with
other ctladm processes. In particular, this allows the tests to be run
in parallel.

MFC after: 2 weeks
Sponsored by: Axcient
Reviewed by: mav
Pull Request: https://github.com/freebsd/freebsd-src/pull/1279

Details

Provenance
asomersAuthored on Jun 5 2024, 11:54 PM
Parents
rG9747d11d9164: Add some ATF tests for ctladm
Branches
Unknown
Tags
Unknown