code: def TestExitCodeAndOutput(command):
      """Runs the given command and verifies its exit code and output."""
  
      err = "Duplicate parameterized test name 'a'"
  
      p = gtest_test_utils.Subprocess(command)
      Assert(p.terminated_by_signal)
  
      # Check for appropriate output
      Assert(err in p.output)
  
imports: from googletest.test import gtest_test_utils
label_desc: Use image node_id 2 for calling a global function with example usage: TestExitCodeAndOutput(command) without return types