Module Name: src
Committed By: rillig
Date: Tue Dec 28 10:47:00 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: var-op-expand.mk varmod-assign-shell.mk
varquote.mk
Log Message:
tests/make: use tabs instead of spaces for indentation
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/unit-tests/var-op-expand.mk
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/varmod-assign-shell.mk
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/varquote.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/unit-tests/var-op-expand.mk
diff -u src/usr.bin/make/unit-tests/var-op-expand.mk:1.15 src/usr.bin/make/unit-tests/var-op-expand.mk:1.16
--- src/usr.bin/make/unit-tests/var-op-expand.mk:1.15 Tue Nov 30 23:52:19 2021
+++ src/usr.bin/make/unit-tests/var-op-expand.mk Tue Dec 28 10:47:00 2021
@@ -1,4 +1,4 @@
-# $NetBSD: var-op-expand.mk,v 1.15 2021/11/30 23:52:19 rillig Exp $
+# $NetBSD: var-op-expand.mk,v 1.16 2021/12/28 10:47:00 rillig Exp $
#
# Tests for the := variable assignment operator, which expands its
# right-hand side.
@@ -9,7 +9,7 @@
# Force the test results to be independent of the default value of this
# setting, which is 'yes' for NetBSD's usr.bin/make but 'no' for the bmake
# distribution and pkgsrc/devel/bmake.
-.MAKE.SAVE_DOLLARS:= yes
+.MAKE.SAVE_DOLLARS:= yes
# If the right-hand side does not contain a dollar sign, the ':=' assignment
# operator has the same effect as the '=' assignment operator.
Index: src/usr.bin/make/unit-tests/varmod-assign-shell.mk
diff -u src/usr.bin/make/unit-tests/varmod-assign-shell.mk:1.1 src/usr.bin/make/unit-tests/varmod-assign-shell.mk:1.2
--- src/usr.bin/make/unit-tests/varmod-assign-shell.mk:1.1 Tue Dec 28 00:56:17 2021
+++ src/usr.bin/make/unit-tests/varmod-assign-shell.mk Tue Dec 28 10:47:00 2021
@@ -1,4 +1,4 @@
-# $NetBSD: varmod-assign-shell.mk,v 1.1 2021/12/28 00:56:17 rillig Exp $
+# $NetBSD: varmod-assign-shell.mk,v 1.2 2021/12/28 10:47:00 rillig Exp $
#
# Tests for the variable modifier '::!=', which assigns the output of a shell
# command to the variable, but only if the command exited successfully. This
@@ -21,11 +21,11 @@
# Having an error message instead of a warning like for the variable
# assignment operator '!=' is another unnecessary inconsistency.
-DIRECT= previous
-DIRECT!= echo output; false
+DIRECT= previous
+DIRECT!= echo output; false
-ASSIGNED= previous
-_:= ${ASSIGNED::!=echo output; false}
+ASSIGNED= previous
+_:= ${ASSIGNED::!=echo output; false}
all:
@echo DIRECT=${DIRECT:Q}
Index: src/usr.bin/make/unit-tests/varquote.mk
diff -u src/usr.bin/make/unit-tests/varquote.mk:1.4 src/usr.bin/make/unit-tests/varquote.mk:1.5
--- src/usr.bin/make/unit-tests/varquote.mk:1.4 Sun Dec 16 18:53:34 2018
+++ src/usr.bin/make/unit-tests/varquote.mk Tue Dec 28 10:47:00 2021
@@ -1,10 +1,10 @@
-# $NetBSD: varquote.mk,v 1.4 2018/12/16 18:53:34 christos Exp $
+# $NetBSD: varquote.mk,v 1.5 2021/12/28 10:47:00 rillig Exp $
#
# Test VAR:q modifier
.if !defined(REPROFLAGS)
-REPROFLAGS+= -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src
-REPROFLAGS+= -fdebug-regex-map='/usr/src/(.*)/obj$$=/usr/obj/\1'
+REPROFLAGS+= -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src
+REPROFLAGS+= -fdebug-regex-map='/usr/src/(.*)/obj$$=/usr/obj/\1'
all:
@${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:S/\$/&&/g:Q}
@${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:q}