aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-03-28 11:56:15 +0000
committerPedro Alves <palves@redhat.com>2013-03-28 11:56:15 +0000
commitabe7b7116cbf29f11917e74dbf0cda084d8a4169 (patch)
treea438ac95a624e09040b9afedb5b4dc9aefbb7656 /gdb
parent15b3979c24c74b98c707e39b1b431327ce6225f5 (diff)
downloadgdb-abe7b7116cbf29f11917e74dbf0cda084d8a4169.zip
gdb-abe7b7116cbf29f11917e74dbf0cda084d8a4169.tar.gz
gdb-abe7b7116cbf29f11917e74dbf0cda084d8a4169.tar.bz2
list.exp: Adjust "set listsize -1" to current test source's real line count.
The "set listsize -1" test in list.exp can't work correct anymore nowadays, because the test's source files grew over time, and this particular test was never updated. This fixes it in the obvious way. gdb/testsuite/ 2013-03-28 Pedro Alves <palves@redhat.com> * gdb.base/list.exp (test_listsize): Adjust test to make sure we list the whole file.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/list.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 69684ef..8f97fd7 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2013-03-28 Pedro Alves <palves@redhat.com>
+ * gdb.base/list.exp (test_listsize): Adjust test to make sure we
+ list the whole file.
+
+2013-03-28 Pedro Alves <palves@redhat.com>
+
* gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
"set listsize".
diff --git a/gdb/testsuite/gdb.base/list.exp b/gdb/testsuite/gdb.base/list.exp
index 8684b0c..97cca91 100644
--- a/gdb/testsuite/gdb.base/list.exp
+++ b/gdb/testsuite/gdb.base/list.exp
@@ -138,7 +138,7 @@ proc test_listsize {} {
set_listsize -1
setup_xfail "*-*-*"
- gdb_test "list 1" "1\[ \t\]+#include .*\r\n39\[ \t\]+\}" "list line 1 with unlimited listsize"
+ gdb_test "list 1" "1\[ \t\]+#include .*\r\n43\[ \t\]+\}" "list line 1 with unlimited listsize"
}
#