[pushed] Fix regression in page-logging.exp

Message ID 20220103160650.1277480-1-tromey@adacore.com
State New
Headers show
Series
  • [pushed] Fix regression in page-logging.exp
Related show

Commit Message

Simon Marchi via Gdb-patches Jan. 3, 2022, 4:06 p.m.
Simon and Tom pointed out that page-logging.exp failed on their
machines.  Tom tracked this down to the "width" setting.  Since
there's no need in the test to change the width, it seems simplest to
remove the setting.  I confirmed that the test still fails if the fix
is backed out, ensuring that the test is still testing what it
purports to.
---
 gdb/testsuite/gdb.base/page-logging.exp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
2.31.1

Patch

diff --git a/gdb/testsuite/gdb.base/page-logging.exp b/gdb/testsuite/gdb.base/page-logging.exp
index 8071687b3a1..05a3f793f5d 100644
--- a/gdb/testsuite/gdb.base/page-logging.exp
+++ b/gdb/testsuite/gdb.base/page-logging.exp
@@ -1,4 +1,4 @@ 
-# Copyright (C) 2021 Free Software Foundation, Inc.
+# Copyright (C) 2021, 2022 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
@@ -21,7 +21,6 @@  if [gdb_debug_enabled] {
 
 gdb_start
 
-gdb_test_no_output "set width 100"
 gdb_test_no_output "set height 5"
 gdb_test_no_output "set pagination on"