3 TESTFILE= test01 test02 test03 test04 test05 test06 test07 test08 \
4 test09 test10 test11 test12 test13 test14 test15 test16 test17 \
7 OPTIONS= r f fr fs fu i ir b bs bd bu g gs gu gr n nr M Mr u nu ns
9 #SORT?= /usr/local/bin/bsdsort
10 GNUSORT?=~/coreutils/bin/sort
12 CMP?= ${.CURDIR}/cmp.sh
17 @LANG=C;${SORT} data/${f} >output/${f}
18 @#LANG=C;${GNUSORT} data/${f} >ref/${f}
19 @${CMP} ref/${f} output/${f}
21 .for opt in ${OPTIONS}
23 @LANG=C;${SORT} -${opt} data/${f} >output/${f}${opt}
24 @#LANG=C;${GNUSORT} -${opt} data/${f} >ref/${f}${opt}
25 @${CMP} ref/${f}${opt} output/${f}${opt}
31 .include <bsd.prog.mk>