class ChefCLI::ComponentTest

def sh!(*args)

this is inconvenient so you can use #sh! instead.
the return value of the test block. For tests that run a lot of commands,
ChefCLI::Command::Verify#invoke_tests handles the results by inspecting
Most verification steps just run a single command, then

unexpected exit code.
Just like #sh but raises an error if the the command returns an
def sh!(*args)
  sh(*args).tap(&:error!)
end