Page MenuHomeFreeBSD

tests/sys/cddl: correctly quote atf_set "require.progs"
ClosedPublic

Authored by arichardson on Mar 4 2021, 6:42 PM.
Tags
None
Referenced Files
F142185127: D29066.id.diff
Fri, Jan 16, 11:17 PM
Unknown Object (File)
Dec 1 2025, 4:41 PM
Unknown Object (File)
Nov 26 2025, 11:17 PM
Unknown Object (File)
Nov 14 2025, 5:40 AM
Unknown Object (File)
Nov 8 2025, 7:06 AM
Unknown Object (File)
Nov 8 2025, 2:08 AM
Unknown Object (File)
Nov 8 2025, 12:22 AM
Unknown Object (File)
Nov 7 2025, 4:30 PM
Subscribers

Details

Summary

The argument has to be a single whitespace-separate value. While touching
all these lines also add ksh93, since atf_set "require.progs" overrides
the default value specified in the Kyuafile. This then results in tests
being executed despite ksh93 not being installed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37583
Build 34472: arc lint + arc unit

Event Timeline

I didn't look at every file, but the overall pattern looks good. However, the fact that require.progs in a test file overrides the setting in the Kyua file, rather than adding to it, is arguably a bug. Maybe you should open a bug report upstream.

This revision is now accepted and ready to land.Mar 4 2021, 7:04 PM

I didn't look at every file, but the overall pattern looks good. However, the fact that require.progs in a test file overrides the setting in the Kyua file, rather than adding to it, is arguably a bug. Maybe you should open a bug report upstream.

Sounds good, I'll open an issue. Not sure if it's likely to be fixed though.