summaryrefslogtreecommitdiff
path: root/unit-tests/cond-func-commands.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/cond-func-commands.mk')
-rw-r--r--unit-tests/cond-func-commands.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/unit-tests/cond-func-commands.mk b/unit-tests/cond-func-commands.mk
index 4a098169048c6..c6e1724c72f33 100644
--- a/unit-tests/cond-func-commands.mk
+++ b/unit-tests/cond-func-commands.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cond-func-commands.mk,v 1.3 2020/08/23 14:07:20 rillig Exp $
+# $NetBSD: cond-func-commands.mk,v 1.4 2020/10/24 08:46:08 rillig Exp $
#
# Tests for the commands() function in .if conditions.
@@ -6,14 +6,14 @@
# The target "target" does not exist yet, therefore it cannot have commands.
.if commands(target)
-.error
+. error
.endif
target:
# Now the target exists, but it still has no commands.
.if commands(target)
-.error
+. error
.endif
target:
@@ -21,7 +21,7 @@ target:
# Even after the comment, the target still has no commands.
.if commands(target)
-.error
+. error
.endif
target:
@@ -29,7 +29,7 @@ target:
# Finally the target has commands.
.if !commands(target)
-.error
+. error
.endif
all: