]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb.ada/complete.exp: Fix FIXME.
authorPedro Alves <palves@redhat.com>
Thu, 16 May 2013 10:13:33 +0000 (10:13 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 16 May 2013 10:13:33 +0000 (10:13 +0000)
2013-05-16  Pedro Alves  <palves@redhat.com>

* gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
comment.  Use gdb_test_no_output.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/complete.exp

index 28e1e019974381174914786e8ba04ee7fdf89bca..769e5509dee7c61f5bb570a9a17319cec7f5a3fc 100644 (file)
@@ -1,3 +1,8 @@
+2013-05-16  Pedro Alves  <palves@redhat.com>
+
+       * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
+       comment.  Use gdb_test_no_output.
+
 2013-05-16  Joel Brobecker  <brobecker@adacore.com>
 
        * gdb.ada/complete.exp: Add test verifying completion using
index 91859085e066347c606aa816f573f7285e16c80d..1b0e87bc12ec62e65c209b4eb84cfd42d603062c 100644 (file)
@@ -38,13 +38,10 @@ proc test_gdb_complete { expr expected_output } {
 }
 
 # A convenience function that verifies that the "complete EXPR" command
-# does not genearte any output.
+# does not generate any output.
 
 proc test_gdb_no_completion { expr } {
-    # FIXME: brobecker/2007-12-27: How do you verify that the command
-    # output is actually really empty???  For now, the following does
-    # not verify this at all:
-    test_gdb_complete "$expr" ""
+    gdb_test_no_output "complete p $expr"
 }
 
 # A convenience function that joins all the arguments together,