code: def test_exit(name):
      t = BoostBuild.Tester(["-ffile.jam"], pass_toolset=0)
  
      t.write("file.jam", "%s ;" % name)
      t.run_build_system(status=1, stdout="\n")
      t.rm(".")
  
      t.write("file.jam", "%s : 0 ;" % name)
      t.run_build_system(stdout="\n")
      t.rm(".")
  
      t.write("file.jam", "%s : 1 ;" % name)
      t.run_build_system(status=1, stdout="\n")
      t.rm(".")
  
      t.write("file.jam", "%s : 2 ;" % name)
      t.run_build_system(status=2, stdout="\n")
      t.rm(".")
  
      t.write("file.jam", "%s a message ;" % name)
      t.run_build_system(status=1, stdout="a message\n")
      t.rm(".")
  
      t.write("file.jam", "%s a message : 0 ;" % name)
      t.run_build_system(stdout="a message\n")
      t.rm(".")
  
      t.cleanup()
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_exit(name) without return types