This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Update string expected from "help info proc" on gdb.base/info-proc.exp
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Cc: John Baldwin <jhb at FreeBSD dot org>, Sergio Durigan Junior <sergiodj at redhat dot com>
- Date: Sat, 6 Oct 2018 11:25:56 -0400
- Subject: [PATCH] Update string expected from "help info proc" on gdb.base/info-proc.exp
- References: <20180918185444.89533-9-jhb@FreeBSD.org>
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(-)
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 $" {
--
2.17.1