Merge pull request #3082 from Domanffe/test/port-harness-symlink-skip
🤖 Agent: read the diff at f4d6f9c0e: test_port_harness skips the reports-link case where the host can't make symlinks. verify green. Queued for the merger.
This commit is contained in:
@@ -65,7 +65,10 @@ class AssetTests(unittest.TestCase):
|
||||
(store / "minecraft").mkdir(parents=True)
|
||||
reports = root / ".local" / "datagen" / "out" / "reports"
|
||||
reports.parent.mkdir(parents=True)
|
||||
try:
|
||||
reports.symlink_to(store)
|
||||
except OSError as e:
|
||||
self.skipTest(f"this host cannot create symlinks: {e}")
|
||||
harness.own_reports(root)
|
||||
self.assertFalse(reports.exists() or reports.is_symlink())
|
||||
self.assertTrue((store / "minecraft").is_dir())
|
||||
|
||||
Reference in New Issue
Block a user