Details
-
New Feature
-
Status: Accepted
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
None
-
Platform OS
-
Needs Assessment
Description
Facter::Util::Resolution.exec returns standard output and sets `$?` aka `$CHILD_STATUS`. These two globals are hard (impossible?) to stub in tests. A more testable API would be nice.
Additionally, it would be nice if standard error was available in addition to standard output. The ability to specify the content of standard input might also be an idea.
Attachments
Issue Links
- relates to
-
FACT-1284 Facter::Util::Resolution.exec no longer sets $?.exitstatus based on exec result
-
- Closed
-