Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/gen "wrong return value" -> "wrong errno".



details:   https://anonhg.NetBSD.org/src/rev/0b31d5a18203
branches:  trunk
changeset: 764008:0b31d5a18203
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Apr 10 10:59:13 2011 +0000

description:
"wrong return value" -> "wrong errno".

diffstat:

 tests/lib/libc/gen/t_nice.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ec9f2c0bec05 -r 0b31d5a18203 tests/lib/libc/gen/t_nice.c
--- a/tests/lib/libc/gen/t_nice.c       Sun Apr 10 10:56:37 2011 +0000
+++ b/tests/lib/libc/gen/t_nice.c       Sun Apr 10 10:59:13 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_nice.c,v 1.3 2011/04/06 08:47:55 jruoho Exp $ */
+/*     $NetBSD: t_nice.c,v 1.4 2011/04/10 10:59:13 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_nice.c,v 1.3 2011/04/06 08:47:55 jruoho Exp $");
+__RCSID("$NetBSD: t_nice.c,v 1.4 2011/04/10 10:59:13 jruoho Exp $");
 
 #include <sys/resource.h>
 #include <sys/wait.h>
@@ -66,7 +66,7 @@
                ATF_REQUIRE(nice(i) == -1);
 
                if (errno != EPERM)
-                       atf_tc_fail("wrong return value");
+                       atf_tc_fail("wrong errno");
        }
 }
 



Home | Main Index | Thread Index | Old Index