xref: /freebsd/contrib/bmake/unit-tests/varmod-order-reverse.mk (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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