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