]> granicus.if.org Git - python/commitdiff
remove gdb noise about linux-vdso
authorBenjamin Peterson <benjamin@python.org>
Fri, 21 Sep 2012 03:48:23 +0000 (23:48 -0400)
committerBenjamin Peterson <benjamin@python.org>
Fri, 21 Sep 2012 03:48:23 +0000 (23:48 -0400)
Lib/test/test_gdb.py

index 3c4162586029217e3b4d494957f55f9088e1e1cb..3bf718aa6d6c15787612f3ce7e6c898e6ddc9155 100644 (file)
@@ -150,6 +150,11 @@ class DebuggerTests(unittest.TestCase):
         err = err.replace("warning: Cannot initialize thread debugging"
                           " library: Debugger service failed\n",
                           '')
+        err = err.replace('warning: Could not load shared library symbols for '
+                          'linux-vdso.so.1.\n'
+                          'Do you need "set solib-search-path" or '
+                          '"set sysroot"?\n',
+                          '')
 
         # Ensure no unexpected error messages:
         self.assertEqual(err, '')