1# $NetBSD: varmod-sun-shell.mk,v 1.1 2021/02/14 20:16:17 rillig Exp $
2#
3# Tests for the :sh variable modifier, which runs the shell command
4# given by the variable value and returns its output.
5#
6# This modifier has been added on 1996-05-29.
7#
8# See also:
9#	ApplyModifier_SunShell
10
11.if ${echo word:L:sh} != "word"
12.  error
13.endif
14
15# If the command exits with non-zero, an error message is printed.
16# XXX: Processing continues as usual though.
17.if ${echo word; false:L:sh} != "word"
18.  error
19.endif
20
21all:
22