From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,KAM_SHORT,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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."