b0a6ae1
--- Lib/test/test_gdb.py.old	2012-04-11 21:04:01.367073855 -0400
b0a6ae1
+++ Lib/test/test_gdb.py	2012-04-12 08:52:58.320288761 -0400
b0a6ae1
@@ -96,6 +96,15 @@ class DebuggerTests(unittest.TestCase):
b0a6ae1
         # Generate a list of commands in gdb's language:
b0a6ae1
         commands = ['set breakpoint pending yes',
b0a6ae1
                     'break %s' % breakpoint,
b0a6ae1
+
b0a6ae1
+                    # GDB as of Fedora 17 onwards can distinguish between the
b0a6ae1
+                    # value of a variable at entry vs current value:
b0a6ae1
+                    #   http://sourceware.org/gdb/onlinedocs/gdb/Variables.html
b0a6ae1
+                    # which leads to the selftests failing with errors like this:
b0a6ae1
+                    #   AssertionError: 'v@entry=()' != '()'
b0a6ae1
+                    # Disable this:
b0a6ae1
+                    'set print entry-values no',
b0a6ae1
+
b0a6ae1
                     'run']
b0a6ae1
         if cmds_after_breakpoint:
b0a6ae1
             commands += cmds_after_breakpoint
7b42f48
--- Lib/test/test_gdb.py.old	2012-04-11 21:04:01.367073855 -0400
7b42f48
+++ Lib/test/test_gdb.py	2012-04-12 08:52:58.320288761 -0400
7b42f48
@@ -144,6 +153,10 @@
Matej Stuchlik b1e5a42
             'Missing separate debuginfo for ',
Matej Stuchlik b1e5a42
             'Try: zypper install -C ',
7b42f48
             )
7b42f48
+        ignore_patterns += ('warning: Unable to open',
7b42f48
+                            'Missing separate debuginfo for',
7b42f48
+                            'Try: yum --disablerepo=',
7b42f48
+                            'Undefined set print command')
7b42f48
         for line in errlines:
7b42f48
             if not line.startswith(ignore_patterns):
7b42f48
                 unexpected_errlines.append(line)