about summary refs log tree commit diff
path: root/test/pnm-pam-roundtrip.test
blob: 506d25aaa12ad7a8e7b6efe0ba877b03d3360485 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/bash
# This script tests: pamtopam pamtopnm
# Also requires: 

  alias pamtopam="${PBM_TESTPREFIX}pamtopam"
  alias pamtopnm="${PBM_TESTPREFIX}pamtopnm"
  shopt -s expand_aliases

pamtopam < testimg.ppm | pamtopnm | cksum
pamtopam < testgrid.pbm | pamtopnm | cksum