]> granicus.if.org Git - imagemagick/blob - Magick++/tests/test_averageImages.sh
(no commit message)
[imagemagick] / Magick++ / tests / test_averageImages.sh
1 #!/bin/sh 
2 #
3 # Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
4 #
5 executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
6
7 outfile="test_${executable}.out"
8
9 rm -f $outfile
10 ${MAGICK_ENV} ${MEMCHECK} "./${executable}" 2>&1 > $outfile
11 status=$?
12 if test $status -eq 1
13 then
14   cat $outfile
15 fi
16 rm -f $outfile
17 exit $status
18
19