xref: /freebsd/contrib/bmake/unit-tests/varmod-order-reverse.mk (revision 96474d2a3fa895fb9636183403fc8ca7ccf60216)
1# $NetBSD: varmod-order-reverse.mk,v 1.3 2020/08/16 20:13:10 rillig Exp $
2#
3# Tests for the :Or variable modifier, which returns the words, sorted in
4# descending order.
5
6NUMBERS=	one two three four five six seven eight nine ten
7
8.if ${NUMBERS:Or} != "two three ten six seven one nine four five eight"
9.error ${NUMBERS:Or}
10.endif
11
12all:
13	@:;
14