Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Rename the _atf user to _tests. The _atf name will get obso...
details: https://anonhg.NetBSD.org/src/rev/2808d8efccda
branches: trunk
changeset: 767980:2808d8efccda
user: jmmv <jmmv%NetBSD.org@localhost>
date: Fri Aug 05 14:43:41 2011 +0000
description:
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@.
diffstat:
etc/group | 2 +-
etc/master.passwd | 2 +-
external/bsd/atf/etc/atf/common.conf | 2 +-
share/man/man7/tests.7 | 6 +++---
usr.sbin/postinstall/postinstall | 6 +++---
5 files changed, 9 insertions(+), 9 deletions(-)
diffs (89 lines):
diff -r 42edded416fa -r 2808d8efccda etc/group
--- a/etc/group Fri Aug 05 09:36:28 2011 +0000
+++ b/etc/group Fri Aug 05 14:43:41 2011 +0000
@@ -21,7 +21,7 @@
_sdpd:*:23:
_httpd:*:24:
_mdnsd:*:25:
-_atf:*:26:
+_tests:*:26:
_tcpdump:*:27:
guest:*:31:root
nobody:*:39:
diff -r 42edded416fa -r 2808d8efccda etc/master.passwd
--- a/etc/master.passwd Fri Aug 05 09:36:28 2011 +0000
+++ b/etc/master.passwd Fri Aug 05 14:43:41 2011 +0000
@@ -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
diff -r 42edded416fa -r 2808d8efccda external/bsd/atf/etc/atf/common.conf
--- a/external/bsd/atf/etc/atf/common.conf Fri Aug 05 09:36:28 2011 +0000
+++ b/external/bsd/atf/etc/atf/common.conf Fri Aug 05 14:43:41 2011 +0000
@@ -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"
diff -r 42edded416fa -r 2808d8efccda share/man/man7/tests.7
--- a/share/man/man7/tests.7 Fri Aug 05 09:36:28 2011 +0000
+++ b/share/man/man7/tests.7 Fri Aug 05 14:43:41 2011 +0000
@@ -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
diff -r 42edded416fa -r 2808d8efccda usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall Fri Aug 05 09:36:28 2011 +0000
+++ b/usr.sbin/postinstall/postinstall Fri Aug 05 14:43:41 2011 +0000
@@ -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
}
Home |
Main Index |
Thread Index |
Old Index