From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id QBWiCLjdaWSeMBAAWB0awg (envelope-from ) for ; Sun, 21 May 2023 05:00:40 -0400 Received: by simark.ca (Postfix, from userid 112) id 1F1381E11E; Sun, 21 May 2023 05:00:40 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C5BF11E0D6 for ; Sun, 21 May 2023 05:00:39 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 44A403858C78 for ; Sun, 21 May 2023 09:00:39 +0000 (GMT) Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) by sourceware.org (Postfix) with ESMTPS id 208903858D20 for ; Sun, 21 May 2023 09:00:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 208903858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4QPF0G1TN4z1sGXb; Sun, 21 May 2023 11:00:14 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4QPF0G01Xpz1qqlS; Sun, 21 May 2023 11:00:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id wjb8wX5NjxEV; Sun, 21 May 2023 11:00:13 +0200 (CEST) X-Auth-Info: JvlM98YCb8ejgBP3zc0EaFuJsBq67VhN67nUN7EL9dWrSSaMiFZlAso9SRw0fv7J Received: from tiger.home (aftr-62-216-205-204.dynamic.mnet-online.de [62.216.205.204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 21 May 2023 11:00:13 +0200 (CEST) Received: by tiger.home (Postfix, from userid 1000) id AFDC71A3C43; Sun, 21 May 2023 11:00:12 +0200 (CEST) From: Andreas Schwab To: Andrew Burgess via Gdb-patches Cc: Tom de Vries , Andrew Burgess , Simon Marchi Subject: Re: [PATCH] [gdb/testsuite] Fix gdb.tui/wrap-line.exp In-Reply-To: <87ilcm83tt.fsf@redhat.com> (Andrew Burgess via Gdb-patches's message of "Sun, 21 May 2023 09:51:42 +0100") References: <20230518061046.17837-1-tdevries@suse.de> <87ilcm83tt.fsf@redhat.com> X-Yow: I always wanted a NOSE JOB!! Date: Sun, 21 May 2023 11:00:12 +0200 Message-ID: <87sfbqqctf.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On Mai 21 2023, Andrew Burgess via Gdb-patches wrote: > Tom de Vries via Gdb-patches writes: > >> PR testsuite/30458 reports the following FAIL: >> ... >> PASS: gdb.tui/wrap-line.exp: width-auto-detected: cli: wrap >> ^CQuit >> (gdb) WARNING: timeout in accept_gdb_output >> Screen Dump (size 50 columns x 24 rows, cursor at column 6, row 3): >> 0 Quit >> 1 (gdb) 7890123456789012345678901234567890123456789 >> 2 W^CQuit >> 3 (gdb) >> ... >> FAIL: gdb.tui/wrap-line.exp: width-auto-detected: cli: prompt after wrap >> ... >> >> The problem is that the regexp doesn't account for the ^C: >> ... >> gdb_assert { [Term::wait_for "^WQuit"] } "prompt after wrap" >> ... >> >> Fix this by updating the regexp, and likewise in another place in the >> test-case where we use ^C. > > Do we know why we sometimes manage to see '^C'? Isn't that printed by the kernel (N_TTY ldisc)? -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."