broctl tests need some portability fixes

Description

While running the broctl tests on openbsd, I noticed a few issues that need to be
fixed so that the tests are more portable (not all of the fixes are directly related
to openbsd).

Environment

None

Assignee

Justin Azoff

Reporter

Daniel Thayer

Labels

None

External issue ID

None

Components

Fix versions

Priority

Normal
Configure