Module Name:    src
Committed By:   jmmv
Date:           Fri Aug  5 14:43:41 UTC 2011

Modified Files:
        src/etc: group master.passwd
        src/external/bsd/atf/etc/atf: common.conf
        src/share/man/man7: tests.7
        src/usr.sbin/postinstall: postinstall

Log Message:
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@.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/etc/group
cvs rdiff -u -r1.43 -r1.44 src/etc/master.passwd
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/atf/etc/atf/common.conf
cvs rdiff -u -r1.7 -r1.8 src/share/man/man7/tests.7
cvs rdiff -u -r1.120 -r1.121 src/usr.sbin/postinstall/postinstall

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/group
diff -u src/etc/group:1.26 src/etc/group:1.27
--- src/etc/group:1.26	Fri Dec 17 09:54:27 2010
+++ src/etc/group	Fri Aug  5 14:43:41 2011
@@ -21,7 +21,7 @@
 _sdpd:*:23:
 _httpd:*:24:
 _mdnsd:*:25:
-_atf:*:26:
+_tests:*:26:
 _tcpdump:*:27:
 guest:*:31:root
 nobody:*:39:

Index: src/etc/master.passwd
diff -u src/etc/master.passwd:1.43 src/etc/master.passwd:1.44
--- src/etc/master.passwd:1.43	Fri Dec 17 09:54:27 2010
+++ src/etc/master.passwd	Fri Aug  5 14:43:41 2011
@@ -15,7 +15,7 @@
 _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

Index: src/external/bsd/atf/etc/atf/common.conf
diff -u src/external/bsd/atf/etc/atf/common.conf:1.1 src/external/bsd/atf/etc/atf/common.conf:1.2
--- src/external/bsd/atf/etc/atf/common.conf:1.1	Sun Nov  7 17:46:45 2010
+++ src/external/bsd/atf/etc/atf/common.conf	Fri Aug  5 14:43:41 2011
@@ -8,4 +8,4 @@
 # 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"

Index: src/share/man/man7/tests.7
diff -u src/share/man/man7/tests.7:1.7 src/share/man/man7/tests.7:1.8
--- src/share/man/man7/tests.7:1.7	Thu Jun 16 21:53:53 2011
+++ src/share/man/man7/tests.7	Fri Aug  5 14:43:41 2011
@@ -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 @@
 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

Index: src/usr.sbin/postinstall/postinstall
diff -u src/usr.sbin/postinstall/postinstall:1.120 src/usr.sbin/postinstall/postinstall:1.121
--- src/usr.sbin/postinstall/postinstall:1.120	Thu Jul 14 09:35:24 2011
+++ src/usr.sbin/postinstall/postinstall	Fri Aug  5 14:43:41 2011
@@ -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 @@
 
 	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 @@
 
 	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
 }
 
 

Reply via email to