Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/net libc fallback is known to not produce nic...
details: https://anonhg.NetBSD.org/src/rev/361cc4be8a94
branches: trunk
changeset: 343983:361cc4be8a94
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Mar 08 08:34:17 2016 +0000
description:
libc fallback is known to not produce nice alias entries. Avoid spurious
failures when testing in an empty chroot by requiring the services db.
diffstat:
tests/lib/libc/net/t_servent.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 9a941d6b353c -r 361cc4be8a94 tests/lib/libc/net/t_servent.sh
--- a/tests/lib/libc/net/t_servent.sh Tue Mar 08 08:04:48 2016 +0000
+++ b/tests/lib/libc/net/t_servent.sh Tue Mar 08 08:34:17 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_servent.sh,v 1.1 2011/01/12 17:32:27 pgoyette Exp $
+# $NetBSD: t_servent.sh,v 1.2 2016/03/08 08:34:17 joerg Exp $
#
# Copyright (c) 2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -29,6 +29,8 @@
servent_head()
{
atf_set "descr" "Checks {get,set,end}servent(3)"
+ # libc doesn't include aliases
+ atf_set "require.files" "/var/db/services.cdb"
}
servent_body()
{
Home |
Main Index |
Thread Index |
Old Index