summaryrefslogtreecommitdiffstats
path: root/ue1/imgsynth/test/test.sh
diff options
context:
space:
mode:
authormanuel <manuel@nc8430.lan>2009-04-27 00:24:16 +0200
committermanuel <manuel@nc8430.lan>2009-04-27 00:24:16 +0200
commit384539f7cc9feaa7ef7cee385cce472c6966c843 (patch)
tree42d3cbc96d44087c0b6bbe8d41710e5c5f1efced /ue1/imgsynth/test/test.sh
downloadooprog-384539f7cc9feaa7ef7cee385cce472c6966c843.tar.gz
ooprog-384539f7cc9feaa7ef7cee385cce472c6966c843.tar.bz2
ooprog-384539f7cc9feaa7ef7cee385cce472c6966c843.zip
Adding ue1
Diffstat (limited to 'ue1/imgsynth/test/test.sh')
-rwxr-xr-xue1/imgsynth/test/test.sh12
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
3rm -f test/yellow_man_out.bmp
4./imgsynth -i test/input
5if [ "$(md5sum < test/yellow_man_out.bmp)" != "$(md5sum < test/yellow_man_ref.bmp)" ]
6then
7 echo "ERROR: test/yellow_man_ref.bmp and test/yellow_man_ref.bmp differ"
8 exit 1
9else
10 echo "Test successful"
11fi
12