NetBSD Problem Report #49278

From www@NetBSD.org  Sun Oct 12 19:04:15 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 250D4A6657
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Oct 2014 19:04:15 +0000 (UTC)
Message-Id: <20141012190414.23DB6A666E@mollari.NetBSD.org>
Date: Sun, 12 Oct 2014 19:04:14 +0000 (UTC)
From: justin@specialbusservice.com
Reply-To: justin@specialbusservice.com
To: gnats-bugs@NetBSD.org
Subject: conformance issues for fnmatch
X-Send-Pr-Version: www-1.0

>Number:         49278
>Category:       lib
>Synopsis:       conformance issues for fnmatch
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 12 19:05:00 +0000 2014
>Closed-Date:    Mon Oct 31 05:11:43 +0000 2016
>Last-Modified:  Mon Oct 31 05:11:43 +0000 2016
>Originator:     Justin Cormack
>Release:        current
>Organization:
NetBSD
>Environment:
NetBSD  7.99.1 NetBSD 7.99.1 (GENERIC) #2: Sun Oct 12 01:07:18 CEST 2014  justin@zander.myriabit.eu:/home/justin/src/sys/arch/amd64/compile/obj/GENERIC amd64

>Description:
I added some fnmatch conformance tests from other libc tests suites and a few fail.

tc-se:*** Check failed: /home/justin/src/tests/lib/libc/gen/t_fnmatch.c:164: fnmatch("[[?*\\]", "\\", 0) == 0 not met
tc-se:*** Check failed: /home/justin/src/tests/lib/libc/gen/t_fnmatch.c:165: fnmatch("[]?*\\]", "]", 0) == 0 not met
tc-se:*** Check failed: /home/justin/src/tests/lib/libc/gen/t_fnmatch.c:166: fnmatch("[!]a-]", "b", 0) == 0 not met
tc-se:*** Check failed: /home/justin/src/tests/lib/libc/gen/t_fnmatch.c:167: fnmatch("[]-_]", "^", 0) == 0 not met
tc-se:*** Check failed: /home/justin/src/tests/lib/libc/gen/t_fnmatch.c:168: fnmatch("[!]-_]", "X", 0) == 0 not met
tc-se:*** Check failed: /home/justin/src/tests/lib/libc/gen/t_fnmatch.c:174: fnmatch("[/b", "[/b", 0) == 0 not met

>How-To-Repeat:
Tests committed to current. Will mark as known failure when I get the PR number.
>Fix:

>Release-Note:

>Audit-Trail:
From: "Justin Cormack" <justin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49278 CVS commit: src/tests/lib/libc/gen
Date: Sun, 12 Oct 2014 19:08:08 +0000

 Module Name:	src
 Committed By:	justin
 Date:		Sun Oct 12 19:08:08 UTC 2014

 Modified Files:
 	src/tests/lib/libc/gen: t_fnmatch.c

 Log Message:
 Add expect fail for PR lib/49278


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/gen/t_fnmatch.c

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

From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49278 CVS commit: src/tests/lib/libc/gen
Date: Mon, 31 Oct 2016 05:08:53 +0000

 Module Name:	src
 Committed By:	dholland
 Date:		Mon Oct 31 05:08:53 UTC 2016

 Modified Files:
 	src/tests/lib/libc/gen: t_fnmatch.c

 Log Message:
 Add another case related to the ones from PR 49278: [A-\\].


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/gen/t_fnmatch.c

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

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 31 Oct 2016 05:11:43 +0000
State-Changed-Why:
these all pass now.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.