gdb/testsuite/ChangeLog:
	* gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
	proc_with_prefix.
+2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
+       proc_with_prefix.
+
 2017-02-10  Tom Tromey  <tom@tromey.com>
 
        * gdb.python/py-xmethods.exp: Use "p" command, not "P".
 
 
 # The test proper.
 
-proc do_test {} {
+proc_with_prefix do_test {} {
     global srcfile testfile
     global gdb_prompt
     global gdb_spawn_id
 
 # Test missing / invalid arguments.
 
-proc do_test_invalid_args {} {
+proc_with_prefix do_test_invalid_args {} {
     global testfile
 
     clean_restart $testfile
     }
 }
 
-with_test_prefix "do_test" do_test
-with_test_prefix "do_test_invalid_args" do_test_invalid_args
+do_test
+do_test_invalid_args