code: def test_error():
      t = BoostBuild.Tester(pass_toolset=0)
  
      t.write(
          "file.jam",
          """\
      actions pass
      {
          echo okay >$(<)
      }
  
      FAIL_EXPECTED t1 ;
      pass t1 ;
  
      UPDATE t1 ;
      """,
      )
  
      t.run_build_system(["-ffile.jam"], status=1)
      t.expect_output_lines("...failed pass t1...")
      t.expect_nothing_more()
  
      t.cleanup()
  
imports: import BoostBuild
label_desc: Use image node_id 2 for calling a global function with example usage: test_error() without return types