| Some of our provider tests add expectations to $CHILD_STATUS#exitstatus, but that is no longer possible in Ruby 3, because it is frozen, leading to:
Cannot proxy frozen objects, rspec-mocks relies on proxies for method stubbing and expectations.
|
Now that Puppet::Util::Execution.execute returns a ProcessOutput containing the exitstatus, there is no reason to continue using CHILD_STATUS. |