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/09b79c97c5bd
branches:  trunk
changeset: 959273:09b79c97c5bd
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 adc8195757fc -r 09b79c97c5bd 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