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

  alias pnmtopnm="${PBM_TESTPREFIX}pnmtopnm"
  shopt -s expand_aliases

pnmtopnm -plain testimg.ppm | \
  pnmtopnm | cksum
pnmtopnm -plain testgrid.pbm | \
  pnmtopnm | cksum