3 TCG=./georg_testcase-generator.sh
5 ELF=~/abgabe/scanner/scanner
6 LOC=/usr/ftp/pub/ubvl/test/scanner
10 echo >&2 "ERROR: make failed"
16 # generate testcases using charset in hex
17 if ! PROGRAM=$ELF DIGITS=$DIGITS $TCG $i > /dev/null
19 echo >&2 "ERROR: TCG failed"
25 mv -f $i.0.0 georg_$i.0
26 mv -f $i.0.1 georg_$i.out
32 3 $(echo -ne ' :=' | xxd -ps)
33 6 $(echo -ne ' /*1' | xxd -ps)
34 5 $(echo -ne ' if1' | xxd -ps)
35 4 $(echo -ne ' 0x1' | xxd -ps)
36 2 $(echo -ne ' \t\r\f\b' | xxd -ps)
39 cat > /dev/null << EOF
40 3 $(echo -ne '0123' | xxd -ps)
41 6 $(echo -ne ' if39' | xxd -ps)
42 7 $(echo -ne ' if0x1' | xxd -ps)
48 ## Georg Schiesser <e0307201/AT/student.tuwien.ac.at> @ UBVL 2010S # GPLv2
49 ## vim: filetype=sh shiftwidth=8 tabstop=8 noexpandtab nopaste: