Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests access(2) does not work for root, so...



details:   https://anonhg.NetBSD.org/src/rev/e61d90738ef5
branches:  trunk
changeset: 946365:e61d90738ef5
user:      sjg <sjg%NetBSD.org@localhost>
date:      Wed Nov 25 00:32:18 2020 +0000

description:
access(2) does not work for root, so skip objdir-writable

diffstat:

 usr.bin/make/unit-tests/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7145d2668b75 -r e61d90738ef5 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Tue Nov 24 23:31:55 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Wed Nov 25 00:32:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.224 2020/11/24 19:02:59 rillig Exp $
+# $NetBSD: Makefile,v 1.225 2020/11/25 00:32:18 sjg Exp $
 #
 # Unit tests for make(1)
 #
@@ -193,7 +193,9 @@
 TESTS+=                modmisc
 TESTS+=                modts
 TESTS+=                modword
+.if ${id -u:L:sh} > 0
 TESTS+=                objdir-writable
+.endif
 TESTS+=                opt
 TESTS+=                opt-backwards
 TESTS+=                opt-chdir



Home | Main Index | Thread Index | Old Index