xref: /freebsd/contrib/bmake/unit-tests/varmod-order-reverse.mk (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1# $NetBSD: varmod-order-reverse.mk,v 1.5 2021/08/03 04:46:49 rillig Exp $
2#
3# Tests for the :Or variable modifier, which returns the words, sorted in
4# descending order.
5
6WORDS=		one two three four five six seven eight nine ten
7
8.if ${WORDS:Or} != "two three ten six seven one nine four five eight"
9.  error ${WORDS:Or}
10.endif
11
12all:
13