Rename the _atf user to _tests. The _atf name will get obsoleted if/when

we migrate to Kyua (atf v2), so it's better to use a generic name that does
not depend on the specific implementation.  Also, this user has not gone
out yet into any stable release, so we can easily rename it.

Suggested by jruoho@.
This commit is contained in:
jmmv 2011-08-05 14:43:41 +00:00
parent 67e53d37bc
commit bbf950e188
5 changed files with 9 additions and 9 deletions

View File

@ -21,7 +21,7 @@ _timedc:*:22:
_sdpd:*:23:
_httpd:*:24:
_mdnsd:*:25:
_atf:*:26:
_tests:*:26:
_tcpdump:*:27:
guest:*:31:root
nobody:*:39:

View File

@ -15,7 +15,7 @@ _timedc:*:22:22::0:0:& pseudo-user:/nonexistent:/sbin/nologin
_sdpd:*:23:23::0:0:& pseudo-user:/nonexistent:/sbin/nologin
_httpd:*:24:24::0:0:& pseudo-user:/var/www:/sbin/nologin
_mdnsd:*:25:25::0:0:& pseudo-user:/nonexistent:/sbin/nologin
_atf:*:26:26::0:0:& pseudo-user:/nonexistent:/sbin/nologin
_tests:*:26:26::0:0:& pseudo-user:/nonexistent:/sbin/nologin
_tcpdump:*:27:27::0:0:& pseudo-user:/var/chroot/tcpdump:/sbin/nologin
uucp:*:66:1::0:0:UNIX-to-UNIX Copy:/nonexistent:/sbin/nologin
nobody:*:32767:39::0:0:Unprivileged user:/nonexistent:/sbin/nologin

View File

@ -8,4 +8,4 @@ Content-Type: application/X-atf-config; version="1"
# an unprivileged user to perform extra checks. Set this variable to
# the user you want to use in those cases. If not set, those tests will
# be skipped.
unprivileged-user = "_atf"
unprivileged-user = "_tests"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: tests.7,v 1.7 2011/06/16 21:53:53 wiz Exp $
.\" $NetBSD: tests.7,v 1.8 2011/08/05 14:43:41 jmmv Exp $
.\"
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -25,7 +25,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd June 16, 2011
.Dd August 5, 2011
.Dt TESTS 7
.Os
.Sh NAME
@ -176,7 +176,7 @@ tree to only run test cases for the given type.
This variable allows setting an unprivileged user login name to be used by
tests.
Defaults to
.Sq _atf .
.Sq _tests .
.El
.Ss What to do if something fails?
If there is

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: postinstall,v 1.120 2011/07/14 09:35:24 plunky Exp $
# $NetBSD: postinstall,v 1.121 2011/08/05 14:43:41 jmmv Exp $
#
# Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
# All rights reserved.
@ -851,7 +851,7 @@ do_gid()
check_ids "$1" groups "${DEST_DIR}/etc/group" \
named ntpd sshd authpf _pflogd _rwhod _proxy _timedc \
_sdpd _httpd _mdnsd _atf _tcpdump
_sdpd _httpd _mdnsd _tests _tcpdump
}
#
@ -1484,7 +1484,7 @@ do_uid()
check_ids "$1" users "${DEST_DIR}/etc/master.passwd" \
named ntpd postfix sshd _pflogd _rwhod _proxy _timedc \
_sdpd _httpd _mdnsd _atf _tcpdump
_sdpd _httpd _mdnsd _tests _tcpdump
}