]> granicus.if.org Git - python/commitdiff
Try to repair the failing test on the OpenBSD buildbot. Trial and error...
authorThomas Heller <theller@ctypes.org>
Mon, 19 Jun 2006 07:07:49 +0000 (07:07 +0000)
committerThomas Heller <theller@ctypes.org>
Mon, 19 Jun 2006 07:07:49 +0000 (07:07 +0000)
Lib/ctypes/test/test_loading.py

index 45585ae54a59aaa9ee02ca8d8d170972a0c70136..4841034a8470cf61d3be61926f86aa0fcabafa95 100644 (file)
@@ -16,7 +16,7 @@ elif sys.platform == "cygwin":
 else:
     for line in os.popen("ldd %s" % sys.executable):
         if "libc.so" in line:
-            if sys.platform == "openbsd3":
+            if sys.platform.startswith("openbsd3"):
                 libc_name = line.split()[4]
             else:
                 libc_name = line.split()[2]