* gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
authorTom Tromey <tromey@redhat.com>
Thu, 8 Dec 2011 15:31:20 +0000 (15:31 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 8 Dec 2011 15:31:20 +0000 (15:31 +0000)
condition.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/ovsrch.exp

index ba490fb529edc919bfc150658fbb17ac8a496303..d5b24fce695726872482abad7b60d8a581d707e3 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-08  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
+       condition.
+
 2011-12-07  Stan Shebs  <stan@codesourcery.com>
 
        * gdb.trace/tfind.exp: Update for output changes.
index f6ad34bc79c6f95dad289e302a2fea33df8f686a..b75a00cb2af9ef749abba2f9a24179668541a595 100644 (file)
@@ -30,7 +30,7 @@ proc test_class {class} {
     }
 
     # Test each overload instance twice: once quoted, once unquoted
-    set conditional1 "if (a == 3)"
+    set conditional1 "if (a_param == 3)"
     set conditional2 "if (A::outer::func ())"
     foreach ovld [array names tests] {
        set method "${class}::foo  ($ovld)  const"