]> 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 a02f5c754efe2372ba4cf0b49b2280abe7fa2abb..fb8261beff0e6b69d14e83dd19902b1ab6178f41 100644 (file)
@@ -144,6 +144,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, '')