code: def test_basic():
      """Test creation of a single link"""
      t = BoostBuild.Tester()
      t.write(
          "jamroot.jam",
          """\
      import link ;
      link-directory dir1-link : src/dir1/include : <location>. ;
      """,
      )
  
      t.write("src/dir1/include/file1.h", "file1")
  
      t.run_build_system()
  
      t.expect_addition("include/file1.h")
      t.expect_content("include/file1.h", "file1")
      ignore_config(t)
      t.expect_nothing_more()
      t.cleanup()
  
file_path: turicreate/src/external/boost/boost_1_68_0/tools/build/test/link.py
imports: import BoostBuild
label_desc: Use image node_id 2 for calling a global function with example usage: test_basic() without return types