gdb
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / maint.exp
index ea7111d2522be57c1efc6ebd73cb89eec9e0d20e..41c12a6b0ab94f3100add6e86340a99f51d1d5ac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2003, 2004, 2006 Free Software Foundation Inc.
+# Copyright 2003, 2004, 2006, 2011 Free Software Foundation Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@ if $tracelevel then {
 
 proc test_help {} {
     set first_component_help "Print the first class/namespace component of NAME"
-    set namespace_help "Print the list of possible C\\+\\+ namespaces"
+    set namespace_help "Deprecated placeholder for removed functionality."
 
     test_prefix_command_help {"maintenance cplus"} {
         "C\\+\\+ maintenance commands\.\[\r\n\]+"
@@ -110,9 +110,7 @@ proc test_first_component {} {
 }
 
 proc test_namespace {} {
-    # There's not a lot we can do to test this.
-
-    gdb_test "maint cp namespace" "Possible namespaces:"
+    gdb_test "maint cp namespace" "The `maint namespace' command was removed."
 }
 
 gdb_exit
This page took 0.026343 seconds and 4 git commands to generate.