aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/opt-debug-x-trace.mk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/unit-tests/opt-debug-x-trace.mk')
-rw-r--r--contrib/bmake/unit-tests/opt-debug-x-trace.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/bmake/unit-tests/opt-debug-x-trace.mk b/contrib/bmake/unit-tests/opt-debug-x-trace.mk
index 0936ba506966..54c04a9a4cf8 100644
--- a/contrib/bmake/unit-tests/opt-debug-x-trace.mk
+++ b/contrib/bmake/unit-tests/opt-debug-x-trace.mk
@@ -1,10 +1,12 @@
-# $NetBSD: opt-debug-x-trace.mk,v 1.1 2020/09/05 06:20:51 rillig Exp $
+# $NetBSD: opt-debug-x-trace.mk,v 1.2 2022/01/23 16:09:38 rillig Exp $
#
# Tests for the -dx command line option, which runs shell commands with
# the -x option, thereby printing the actual commands as they are
# executed.
-# TODO: Implementation
+.MAKEFLAGS: -dx
-all:
- @:;
+# expect: + echo 'Counting 1 2 3 4 5 6 7'
+# expect: Counting 1 2 3 4 5 6 7
+all: .PHONY
+ @echo 'Counting ${:U:range=7}'