This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[COMMIT/OB PATCH] gdb.ada/complete.exp: Fix FIXME.
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 16 May 2013 11:17:11 +0100
- Subject: [COMMIT/OB PATCH] gdb.ada/complete.exp: Fix FIXME.
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/gdb.ada/complete.exp | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/gdb/testsuite/gdb.ada/complete.exp b/gdb/testsuite/gdb.ada/complete.exp
index 973e20b..08238f3 100644
--- a/gdb/testsuite/gdb.ada/complete.exp
+++ b/gdb/testsuite/gdb.ada/complete.exp
@@ -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,