regress.sh revision 146234
195145Sjmallett# $FreeBSD: head/tools/regression/usr.bin/file2c/regress.sh 146234 2005-05-15 07:35:34Z marcel $ 295145Sjmallett 3146234Smarcelecho 1..9 4137587Snik 598759SjmallettREGRESSION_START($1) 695145Sjmallett 7146234SmarcelREGRESSION_TEST(`1', `head -c 13 regress.in | file2c') 8146234SmarcelREGRESSION_TEST(`2', `head -c 26 regress.in | file2c PREFIX') 9146234SmarcelREGRESSION_TEST(`3', `head -c 39 regress.in | file2c PREFIX SUFFIX') 10146234SmarcelREGRESSION_TEST(`4', `head -c 52 regress.in | file2c -x') 11146234SmarcelREGRESSION_TEST(`5', `head -c 65 regress.in | file2c -n -1') 1298759Sjmallett 13146234SmarcelREGRESSION_TEST(`6', `head -c 7 regress.in | file2c -n 1 P S') 14146234SmarcelREGRESSION_TEST(`7', `head -c 14 regress.in | file2c -n 2 -x "P S"') 15146234SmarcelREGRESSION_TEST(`8', `head -c 21 regress.in | file2c -n 16 P -x S') 16146234Smarcel 17146234SmarcelREGRESSION_TEST(`9', `file2c "const char data[] = {" ", 0};" < regress.in') 18146234Smarcel 1998759SjmallettREGRESSION_END() 20