Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/make Run all make tests as unprileged user - m...
details: https://anonhg.NetBSD.org/src/rev/4f8566f04c60
branches: trunk
changeset: 951582:4f8566f04c60
user: martin <martin%NetBSD.org@localhost>
date: Sat Feb 06 19:00:25 2021 +0000
description:
Run all make tests as unprileged user - makes checking permission issues
a lot easier.
diffstat:
tests/usr.bin/make/t_make.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r ec485016e38b -r 4f8566f04c60 tests/usr.bin/make/t_make.sh
--- a/tests/usr.bin/make/t_make.sh Sat Feb 06 18:26:03 2021 +0000
+++ b/tests/usr.bin/make/t_make.sh Sat Feb 06 19:00:25 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_make.sh,v 1.12 2020/10/20 20:36:53 rillig Exp $
+# $NetBSD: t_make.sh,v 1.13 2021/02/06 19:00:25 martin Exp $
#
# Copyright (c) 2008, 2010, 2014 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -59,7 +59,8 @@
eval "${atfname}_head() { \
if [ -n '${descr}' ]; then \
atf_set descr '${descr}'; \
- fi \
+ fi; \
+ atf_set require.user unprivileged; \
}"
eval "${atfname}_body() { \
run_and_check '${atfname}' '${makename}'; \
Home |
Main Index |
Thread Index |
Old Index