NetBSD Problem Report #44837

From jruohone@gmail.com  Wed Apr  6 14:30:36 2011
Return-Path: <jruohone@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id A9CE663C077
	for <gnats-bugs@gnats.netbsd.org>; Wed,  6 Apr 2011 14:30:36 +0000 (UTC)
Message-Id: <20110406123255.D110156C5@marx.bitnet>
Date: Wed,  6 Apr 2011 15:32:55 +0300 (EEST)
From: Jukka Ruohonen <jruohonen@iki.fi>
Sender: a b <jruohone@gmail.com>
Reply-To: jruohonen@iki.fi
To: gnats-bugs@gnats.NetBSD.org
Subject: small atf(7) feature request
X-Send-Pr-Version: 3.95

>Number:         44837
>Category:       bin
>Synopsis:       Show xfail conditions in test failure messages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 06 14:35:00 +0000 2011
>Last-Modified:  Thu Jul 24 15:10:00 +0000 2014
>Originator:     Jukka Ruohonen
>Release:        irrelevant
>Organization:
-
>Environment:
>Description:

When a test case is expecting a failure with atf_tc_expect_fail(expr) but
the failure does not trigger (cf. race conditions), atf(7) currently defaults
to the following string

	"Test case was expecting a failure but none were raised"

It would be however helpful if the "expr" (cf. usually "PR/1234") would be
appended to this string. In particular, this would make the HTML reports
easier to read without manual inspection of a bug tracking system.
Thus, e.g.

	"Test case was expecting: PR/1234. But failure was not raised."

>How-To-Repeat:

http://www.gson.org/netbsd/bugs/build/build/2011.04.06.06.46.14/test.html#syscall_t_getrusage_getrusage_utime_back

>Fix:

Unknown.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: bin-bug-people->jmmv
Responsible-Changed-By: jruoho@NetBSD.org
Responsible-Changed-When: Wed, 06 Apr 2011 16:16:54 +0000
Responsible-Changed-Why:

Assign to jmmv@ as per his request.



From: "Jukka Ruohonen" <jruoho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44837 CVS commit: src/tests/syscall
Date: Sat, 4 Jun 2011 15:51:45 +0000

 Module Name:	src
 Committed By:	jruoho
 Date:		Sat Jun  4 15:51:45 UTC 2011

 Modified Files:
 	src/tests/syscall: t_getrusage.c

 Log Message:
 Until PR bin/44837 is fixed, use atf_tc_fail("anticipated error did not
 occur") even if the bug did not trigger.


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 src/tests/syscall/t_getrusage.c

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

Responsible-Changed-From-To: jmmv->bin-bug-people
Responsible-Changed-By: jmmv@NetBSD.org
Responsible-Changed-When: Thu, 24 Jul 2014 15:10:00 +0000
Responsible-Changed-Why:


>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.