cristy | 3e3b219 | 2010-03-03 03:06:13 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | # |
| 3 | # Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization |
| 4 | # dedicated to making software imaging solutions freely available. |
| 5 | # |
| 6 | # You may not use this file except in compliance with the License. You may |
| 7 | # obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.imagemagick.org/script/license.php |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # Test for 'validate' utility. |
| 18 | # |
| 19 | set -e # Exit on any error |
| 20 | . ${srcdir}/tests/common.sh |
| 21 | |
| 22 | ${CONVERT} pnm:- 'null:' < ${REFERENCE_IMAGE} |
cristy | 212e8da | 2010-03-03 18:35:23 +0000 | [diff] [blame] | 23 | ${CONVERT} pnm:- miff:- < ${REFERENCE_IMAGE} | ${IDENTIFY} - |
| 24 | ${CONVERT} pnm:- - < ${REFERENCE_IMAGE} | ${IDENTIFY} - |
cristy | 3e3b219 | 2010-03-03 03:06:13 +0000 | [diff] [blame] | 25 | ${CONVERT} - 'null:' < ${REFERENCE_IMAGE} |
cristy | 212e8da | 2010-03-03 18:35:23 +0000 | [diff] [blame] | 26 | ${CONVERT} - miff:- < ${REFERENCE_IMAGE} | ${IDENTIFY} - |
| 27 | ${CONVERT} - - < ${REFERENCE_IMAGE} | ${IDENTIFY} - |
| 28 | ${CONVERT} ${REFERENCE_IMAGE} - | ${IDENTIFY} - |
| 29 | ${CONVERT} ${REFERENCE_IMAGE} miff:- | ${IDENTIFY} - |