about summary refs log tree commit diff
path: root/test/wbmp-roundtrip.test
blob: 40988635c55344216371e405b068a3e72921efa6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#! /bin/bash
# This script tests: pbmtowbmp wbmptopbm
# Also requires: 

  alias pbmtowbmp="${PBM_TESTPREFIX}pbmtowbmp"
  alias wbmptopbm="${PBM_TESTPREFIX}wbmptopbm"
  shopt -s expand_aliases

# Should print 2425386270 41, cksum of testgrid.pbm
pbmtowbmp testgrid.pbm | wbmptopbm | cksum