From: Guido van Rossum Date: Wed, 9 Apr 1997 20:57:52 +0000 (+0000) Subject: Try calling getpid() from /usr/lib/libc.so instead of some other X-Git-Tag: v1.5a1~186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6ed2254e12458418bfdc73f1c94a7151295335e;p=thirdparty%2FPython%2Fcpython.git Try calling getpid() from /usr/lib/libc.so instead of some other random things. --- diff --git a/Lib/test/test_dl.py b/Lib/test/test_dl.py index e85bae92610f..029196da4b70 100755 --- a/Lib/test/test_dl.py +++ b/Lib/test/test_dl.py @@ -7,10 +7,7 @@ import dl from test_support import verbose sharedlibs = [ - # SunOS/Solaris - ('/usr/lib/libresolv.so', 'gethostent'), - # SGI IRIX - ('/usr/lib/libm.so', 'sin'), + ('/usr/lib/libc.so', 'getpid'), ] for s, func in sharedlibs: