about summary refs log tree commit diff
path: root/test/sunrast-roundtrip.test
blob: 78e4ae15c4637baeee5ecba243e98d5c51412c73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#! /bin/bash
# This script tests: pnmtorast rasttopnm
# Also requires: 

  alias pnmtorast="${PBM_TESTPREFIX}pnmtorast"
  alias rasttopnm="${PBM_TESTPREFIX}rasttopnm"
  shopt -s expand_aliases

# Should produce 1926073387 101484, cksum of testimg.ppm
pnmtorast testimg.ppm | rasttopnm | cksum