is OpenIndiana actually sunos?
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index c89959b..c2f90b2 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -25,7 +25,7 @@
 if gdb_major_version < 7:
     raise unittest.SkipTest("gdb versions before 7.0 didn't support python embedding"
                             " Saw:\n" + gdb_version)
-if sys.platform.startswith("solaris"):
+if sys.platform.startswith("sunos"):
     raise unittest.SkipTest("test doesn't work very well on Solaris")