Module Name: src
Committed By: kamil
Date: Sun Apr 2 00:06:09 UTC 2017
Modified Files:
src/tests/kernel: t_ptrace.c
Log Message:
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>
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/tests/kernel/t_ptrace.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/kernel/t_ptrace.c
diff -u src/tests/kernel/t_ptrace.c:1.19 src/tests/kernel/t_ptrace.c:1.20
--- src/tests/kernel/t_ptrace.c:1.19 Sat Apr 1 23:51:27 2017
+++ src/tests/kernel/t_ptrace.c Sun Apr 2 00:06:09 2017
@@ -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 @@ ATF_TC_BODY(attach_pid1_securelevel, tc)
!= -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);