aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada
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/testsuite/gdb.ada
parentd1be32476ed223c36b1d79f6f58b892572888dc6 (diff)
downloadfsf-binutils-gdb-177aadc492aadd43b3d540ad098cbacc22cf395e.zip
fsf-binutils-gdb-177aadc492aadd43b3d540ad098cbacc22cf395e.tar.gz
fsf-binutils-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/testsuite/gdb.ada')
-rw-r--r--gdb/testsuite/gdb.ada/complete.exp7
1 files changed, 2 insertions, 5 deletions
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,