--- coverage-7.7.1/tests/test_process.py.orig
+++ coverage-7.7.1/tests/test_process.py
@@ -1173,6 +1173,7 @@
 
 
 @pytest.mark.skipif(env.WINDOWS, reason="Windows can't delete the directory in use.")
+@pytest.mark.skipif(sys.platform == "sunos5", reason="illumos can't delete the directory in use.")
 class YankedDirectoryTest(CoverageTest):
     """Tests of what happens when the current directory is deleted."""