aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-05-16 10:13:33 +0000
committerPedro Alves <palves@redhat.com>2013-05-16 10:13:33 +0000
commit177aadc492aadd43b3d540ad098cbacc22cf395e (patch)
treec9d35b4a93ec2471b89054aa965c067d6acd8438 /gdb
parentd1be32476ed223c36b1d79f6f58b892572888dc6 (diff)
downloadgdb-177aadc492aadd43b3d540ad098cbacc22cf395e.zip
gdb-177aadc492aadd43b3d540ad098cbacc22cf395e.tar.gz
gdb-177aadc492aadd43b3d540ad098cbacc22cf395e.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.ada/complete.exp7
2 files changed, 7 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 28e1e01..769e550 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.ada/complete.exp b/gdb/testsuite/gdb.ada/complete.exp
index 9185908..1b0e87b 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,