xref: /openbsd-src/regress/usr.bin/rev/Makefile (revision 1f99dc4e279427a31270544888daa6423cfda78f)
1#	$OpenBSD: Makefile,v 1.2 2022/12/08 12:01:04 anton Exp $
2
3CLEANFILES = out.ascii.txt out.utf8.txt
4
5REGRESS_TARGETS+=	rev
6rev:
7	LC_ALL=C rev ${.CURDIR}/in.txt > out.ascii.txt
8	diff -u ${.CURDIR}/exp.ascii.txt out.ascii.txt
9	LC_ALL=en_US.UTF-8 rev ${.CURDIR}/in.txt > out.utf8.txt
10	diff -u ${.CURDIR}/exp.utf8.txt out.utf8.txt
11
12.include <bsd.regress.mk>
13