Update string expected from "help info proc" on gdb.base/info-proc.exp

Message ID 20181006152556.4181-1-sergiodj@redhat.com
State Committed
Headers

Commit Message

Sergio Durigan Junior Oct. 6, 2018, 3:25 p.m. UTC
  Commit 73f1bd769a5 ("Make the "info proc" documentation more
consistent.") updated the output from "help info proc", but forgot to
update the test on gdb.base/info-proc.exp.  This obvious patch does
that.

Checked-in as obvious.

gdb/testsuite/ChangeLog:
2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>

	* gdb.base/info-proc.exp: Update string expected from "help info
	proc".
---
 gdb/testsuite/ChangeLog              | 5 +++++
 gdb/testsuite/gdb.base/info-proc.exp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
  

Comments

John Baldwin Oct. 8, 2018, 3:55 p.m. UTC | #1
On 10/6/18 8:25 AM, Sergio Durigan Junior wrote:
> Commit 73f1bd769a5 ("Make the "info proc" documentation more
> consistent.") updated the output from "help info proc", but forgot to
> update the test on gdb.base/info-proc.exp.  This obvious patch does
> that.
> 
> Checked-in as obvious.

Sorry, thanks for fixing.
  

Patch

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e088cb6041..c78c09a15f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@ 
+2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+	* gdb.base/info-proc.exp: Update string expected from "help info
+	proc".
+
 2018-10-04  Tom Tromey  <tom@tromey.com>
 
 	* gdb.cp/maint.exp (test_invalid_name): Update expected output.
diff --git a/gdb/testsuite/gdb.base/info-proc.exp b/gdb/testsuite/gdb.base/info-proc.exp
index 7dbf740645..9f23909dd4 100644
--- a/gdb/testsuite/gdb.base/info-proc.exp
+++ b/gdb/testsuite/gdb.base/info-proc.exp
@@ -25,7 +25,7 @@  if {[prepare_for_testing "failed to prepare" $testfile \
     return -1
 }
 
-gdb_test "help info proc" "Show /proc process information about .*"
+gdb_test "help info proc" "Show additional information about a process.*"
 
 gdb_test_multiple "info proc" "info proc without a process" {
     -re "No current process.*$gdb_prompt $" {