aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/varmod-shell.mk
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2025-01-30 23:38:13 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2025-01-30 23:38:13 +0000
commit5ad769f660f3d00853bc739f82d9bc62f6a682cb (patch)
treea94dff53cb23983ddf617d2f22dccc33f6f1a27c /unit-tests/varmod-shell.mk
parent84691af93185c692058ba55fa81a04103f5bf71b (diff)
Diffstat (limited to 'unit-tests/varmod-shell.mk')
-rw-r--r--unit-tests/varmod-shell.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/unit-tests/varmod-shell.mk b/unit-tests/varmod-shell.mk
index 87918c5bbbf6..5f614d0c7f3c 100644
--- a/unit-tests/varmod-shell.mk
+++ b/unit-tests/varmod-shell.mk
@@ -1,4 +1,4 @@
-# $NetBSD: varmod-shell.mk,v 1.10 2024/07/05 19:47:22 rillig Exp $
+# $NetBSD: varmod-shell.mk,v 1.11 2024/08/29 20:20:37 rillig Exp $
#
# Tests for the ':!cmd!' variable modifier, which runs the shell command
# given by the variable modifier and returns its output.
@@ -21,18 +21,18 @@
# Between 2000-04-29 and 2020-11-17, the error message mentioned the previous
# value of the expression (which is usually an empty string) instead of the
# command that was executed.
-# expect+1: warning: while evaluating "${:!echo word; (exit 13)!} != "word"" with value "word": Command "echo word; (exit 13)" exited with status 13
+# expect+1: warning: Command "echo word; (exit 13)" exited with status 13
.if ${:!echo word; (exit 13)!} != "word"
. error
.endif
-# expect+1: warning: while evaluating "${:Uprevious value:!echo word; (exit 13)!} != "word"" with value "word": Command "echo word; (exit 13)" exited with status 13
+# expect+1: warning: Command "echo word; (exit 13)" exited with status 13
.if ${:Uprevious value:!echo word; (exit 13)!} != "word"
. error
.endif
.MAKEFLAGS: -dv # to see the "Capturing" debug output
-# expect+1: warning: while evaluating "${:!echo word; ${:U(exit 13)}!}" with value "word": Command "echo word; (exit 13)" exited with status 13
+# expect+1: warning: Command "echo word; (exit 13)" exited with status 13
_:= ${:!echo word; ${:U(exit 13)}!}
.MAKEFLAGS: -d0