Source-Changes-HG archive

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

[src/trunk]: src/tests/sys/uvm Fixed issues with uvm_physseg_atboot_free_leak...



details:   https://anonhg.NetBSD.org/src/rev/1eaa60576dfa
branches:  trunk
changeset: 996037:1eaa60576dfa
user:      fox <fox%NetBSD.org@localhost>
date:      Wed Jan 16 13:45:29 2019 +0000

description:
Fixed issues with uvm_physseg_atboot_free_leak test case.

"\n" in ATF discriptions make it behave in weird ways, like saying "this
test is bogus.", fixed the issue by removing the "\n".

Reviewed by <cherry>

diffstat:

 tests/sys/uvm/t_uvm_physseg.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 457c1c690c1a -r 1eaa60576dfa tests/sys/uvm/t_uvm_physseg.c
--- a/tests/sys/uvm/t_uvm_physseg.c     Wed Jan 16 13:35:51 2019 +0000
+++ b/tests/sys/uvm/t_uvm_physseg.c     Wed Jan 16 13:45:29 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_uvm_physseg.c,v 1.6 2019/01/16 13:35:51 fox Exp $ */
+/* $NetBSD: t_uvm_physseg.c,v 1.7 2019/01/16 13:45:29 fox Exp $ */
 
 /*-
  * Copyright (c) 2015, 2016 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_uvm_physseg.c,v 1.6 2019/01/16 13:35:51 fox Exp $");
+__RCSID("$NetBSD: t_uvm_physseg.c,v 1.7 2019/01/16 13:45:29 fox Exp $");
 
 /*
  * If this line is commented out tests related to uvm_physseg_get_pmseg()
@@ -401,7 +401,7 @@
 ATF_TC_HEAD(uvm_physseg_atboot_free_leak, tc)
 {
        atf_tc_set_md_var(tc, "descr",
-           "does free() leak at boot ?\n"
+           "does free() leak at boot ?"
            "This test needs VM_PHYSSEG_MAX > 1)");
 }
 



Home | Main Index | Thread Index | Old Index