NetBSD Problem Report #58313

From martin@aprisoft.de  Wed Jun  5 13:13:27 2024
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id ACEB41A9238
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  5 Jun 2024 13:13:27 +0000 (UTC)
Message-Id: <20240605131318.A0B7D5CC795@emmas.aprisoft.de>
Date: Wed,  5 Jun 2024 15:13:18 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@aprisoft.de
To: gnats-bugs@NetBSD.org
Subject: Curses fix for default cursor mode did not update test
X-Send-Pr-Version: 3.95

>Number:         58313
>Category:       lib
>Synopsis:       Curses fix for default cursor mode did not update test
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 05 13:15:00 +0000 2024
>Last-Modified:  Wed Jul 24 10:00:04 +0000 2024
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.10
>Organization:
The NetBSD Foundation, Inc
>Environment:
System: NetBSD gethsemane.aprisoft.de 10.99.10 NetBSD 10.99.10 (GETHSEMANE) #334: Wed Jun 5 10:54:13 CEST 2024 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/macppc/compile/GETHSEMANE macppc
Architecture: powerpc
Machine: macppc
>Description:

Recent curses fixes (most likely for PR 58090) caused test fallout:

Test case: lib/libcurses/t_curses/curs_set

Duration: 0.268386 seconds
Termination reason

FAILED: test /usr/tests/lib/libcurses/tests/curs_set failed
Standard error stream

director: /usr/tests/lib/libcurses/tests/curs_set:3: Validate expected >2< matching >1<



>How-To-Repeat:
cd  /usr/tests/lib/libcurses && atf-run|atf-report

>Fix:
n/a

>Audit-Trail:
From: "Valery Ushakov" <uwe@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58313 CVS commit: src/tests/lib/libcurses/tests
Date: Wed, 5 Jun 2024 16:09:59 +0000

 Module Name:	src
 Committed By:	uwe
 Date:		Wed Jun  5 16:09:59 UTC 2024

 Modified Files:
 	src/tests/lib/libcurses/tests: curs_set

 Log Message:
 adjust initial cursor state to reflect reality

 Missed in PR bin/58090
 Fixes PR lib/58313


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libcurses/tests/curs_set

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58313 CVS commit: [netbsd-10] src
Date: Wed, 24 Jul 2024 09:57:13 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Jul 24 09:57:13 UTC 2024

 Modified Files:
 	src/lib/libcurses [netbsd-10]: screen.c
 	src/tests/lib/libcurses/tests [netbsd-10]: curs_set

 Log Message:
 Pull up following revision(s) (requested by uwe in ticket #768):

 	tests/lib/libcurses/tests/curs_set: revision 1.2
 	lib/libcurses/screen.c: revision 1.39

 curses: init old_mode to 1 (normal visible cursor)
 PR bin/58090: Ctrl-Z, fg makes blinking cursor in vi
 ok blymn@

 adjust initial cursor state to reflect reality
 Missed in PR bin/58090

 Fixes PR lib/58313


 To generate a diff of this commit:
 cvs rdiff -u -r1.37 -r1.37.2.1 src/lib/libcurses/screen.c
 cvs rdiff -u -r1.1 -r1.1.54.1 src/tests/lib/libcurses/tests/curs_set

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.