aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/varmod-order.mk
blob: b079bdc34217c6fa17aa778be6bb24bb88654524 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: varmod-order.mk,v 1.4 2020/08/16 20:43:01 rillig Exp $
#
# Tests for the :O variable modifier, which returns the words, sorted in
# ascending order.

NUMBERS=	one two three four five six seven eight nine ten

.if ${NUMBERS:O} != "eight five four nine one seven six ten three two"
.error ${NUMBERS:O}
.endif

# Unknown modifier "OX"
_:=	${NUMBERS:OX}

# Unknown modifier "OxXX"
_:=	${NUMBERS:OxXX}

all:
	@:;