Module Name: src
Committed By: martin
Date: Sat Feb 6 19:00:25 UTC 2021
Modified Files:
src/tests/usr.bin/make: t_make.sh
Log Message:
Run all make tests as unprileged user - makes checking permission issues
a lot easier.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/usr.bin/make/t_make.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/usr.bin/make/t_make.sh
diff -u src/tests/usr.bin/make/t_make.sh:1.12 src/tests/usr.bin/make/t_make.sh:1.13
--- src/tests/usr.bin/make/t_make.sh:1.12 Tue Oct 20 20:36:53 2020
+++ src/tests/usr.bin/make/t_make.sh Sat Feb 6 19:00:25 2021
@@ -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 @@ test_case()
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}'; \