Source-Changes-HG archive

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

[src/trunk]: src/tests/kernel Correct another string about securelevel in t_p...



details:   https://anonhg.NetBSD.org/src/rev/0ff53aedc528
branches:  trunk
changeset: 352458:0ff53aedc528
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sun Apr 02 00:06:09 2017 +0000

description:
Correct another string about securelevel in t_ptrace

Change:
    Test must be run with securelevel >= 1

To:
    Test must be run with securelevel >= 0

In attach_pid1_securelevel.

Sponsored by <The NetBSD Foundation>

diffstat:

 tests/kernel/t_ptrace.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 78012c5b6ead -r 0ff53aedc528 tests/kernel/t_ptrace.c
--- a/tests/kernel/t_ptrace.c   Sun Apr 02 00:03:40 2017 +0000
+++ b/tests/kernel/t_ptrace.c   Sun Apr 02 00:06:09 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace.c,v 1.19 2017/04/01 23:51:27 kamil Exp $      */
+/*     $NetBSD: t_ptrace.c,v 1.20 2017/04/02 00:06:09 kamil Exp $      */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace.c,v 1.19 2017/04/01 23:51:27 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace.c,v 1.20 2017/04/02 00:06:09 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -112,7 +112,7 @@
            != -1);
 
        if (level < 0) {
-               atf_tc_skip("Test must be run with securelevel >= 1");
+               atf_tc_skip("Test must be run with securelevel >= 0");
        }
 
        ATF_REQUIRE_ERRNO(EPERM, ptrace(PT_ATTACH, 1, NULL, 0) == -1);



Home | Main Index | Thread Index | Old Index