Try to repair the failing test on the OpenBSD buildbot. Trial and error...

This commit is contained in:
Thomas Heller 2006-06-19 07:07:49 +00:00
parent a56b91552a
commit 0b465702e6
1 changed files with 1 additions and 1 deletions

View File

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