1# @(#)Makefile 8.1 (Berkeley) 5/31/93 2# $FreeBSD$ 3 4PROG= dd 5SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c 6 7# 8# Test the character conversion functions. We have to be explicit about 9# which LC_LANG we use because the definition of upper and lower case 10# depends on it. 11# 12 13CLEANFILES= gen 14 15test: ${PROG} gen 16.for conv in ascii ebcdic ibm oldascii oldebcdic oldibm \ 17 pareven parnone parodd parset \ 18 swab lcase ucase 19 @${ECHO} testing conv=${conv} 20 @./gen | \ 21 LC_ALL=en_US.US-ASCII ./dd conv=${conv} 2>/dev/null | \ 22 LC_ALL=en_US.US-ASCII hexdump -C | \ 23 diff -I FreeBSD - ${.CURDIR}/ref.${conv} 24.endfor 25 @rm -f gen 26 27.include <bsd.prog.mk> 28