diff options
| author | manuel <manuel@nc8430.lan> | 2009-04-27 00:24:16 +0200 |
|---|---|---|
| committer | manuel <manuel@nc8430.lan> | 2009-04-27 00:24:16 +0200 |
| commit | 384539f7cc9feaa7ef7cee385cce472c6966c843 (patch) | |
| tree | 42d3cbc96d44087c0b6bbe8d41710e5c5f1efced /ue1/imgsynth/test/test.sh | |
| download | ooprog-384539f7cc9feaa7ef7cee385cce472c6966c843.tar.gz ooprog-384539f7cc9feaa7ef7cee385cce472c6966c843.tar.bz2 ooprog-384539f7cc9feaa7ef7cee385cce472c6966c843.zip | |
Adding ue1
Diffstat (limited to 'ue1/imgsynth/test/test.sh')
| -rwxr-xr-x | ue1/imgsynth/test/test.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ue1/imgsynth/test/test.sh b/ue1/imgsynth/test/test.sh new file mode 100755 index 0000000..45ea077 --- /dev/null +++ b/ue1/imgsynth/test/test.sh | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | rm -f test/yellow_man_out.bmp | ||
| 4 | ./imgsynth -i test/input | ||
| 5 | if [ "$(md5sum < test/yellow_man_out.bmp)" != "$(md5sum < test/yellow_man_ref.bmp)" ] | ||
| 6 | then | ||
| 7 | echo "ERROR: test/yellow_man_ref.bmp and test/yellow_man_ref.bmp differ" | ||
| 8 | exit 1 | ||
| 9 | else | ||
| 10 | echo "Test successful" | ||
| 11 | fi | ||
| 12 | |||
