Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys Don't print the pagesize it messes up atf...



details:   https://anonhg.NetBSD.org/src/rev/6f7400bcfc98
branches:  trunk
changeset: 968667:6f7400bcfc98
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Jan 24 08:45:16 2020 +0000

description:
Don't print the pagesize it messes up atf-report

diffstat:

 tests/lib/libc/sys/t_mlock.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 4ba7958696ce -r 6f7400bcfc98 tests/lib/libc/sys/t_mlock.c
--- a/tests/lib/libc/sys/t_mlock.c      Fri Jan 24 07:31:15 2020 +0000
+++ b/tests/lib/libc/sys/t_mlock.c      Fri Jan 24 08:45:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_mlock.c,v 1.7 2019/03/13 08:50:12 kre Exp $ */
+/* $NetBSD: t_mlock.c,v 1.8 2020/01/24 08:45:16 skrll Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_mlock.c,v 1.7 2019/03/13 08:50:12 kre Exp $");
+__RCSID("$NetBSD: t_mlock.c,v 1.8 2020/01/24 08:45:16 skrll Exp $");
 
 #include <sys/mman.h>
 #include <sys/resource.h>
@@ -302,7 +302,6 @@
 {
 
        page = sysconf(_SC_PAGESIZE);
-       fprintf(stderr, "t_mlock: pagesize %ld\n", page);
        ATF_REQUIRE(page >= 0);
 
        ATF_TP_ADD_TC(tp, mlock_clip);



Home | Main Index | Thread Index | Old Index