about summary refs log tree commit diff
path: root/test/gem-roundtrip.test
blob: 97f894c26cd37b6a303f342ae72db395ff38a708 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#! /bin/bash
# This script tests: pbmtogem gemtopbm
# Also requires: gemtopnm

  alias gemtopbm="${PBM_TESTPREFIX}gemtopbm"
  alias pbmtogem="${PBM_TESTPREFIX}pbmtogem"
  shopt -s expand_aliases

# Should print 2425386270 41, cksum of testgrid.pbm
pbmtogem testgrid.pbm | gemtopbm | cksum