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

  alias mgrtopbm="${PBM_TESTPREFIX}mgrtopbm"
  alias pbmtomgr="${PBM_TESTPREFIX}pbmtomgr"
  shopt -s expand_aliases

# Should print 2425386270 41, cksum of testgrid.pbm
pbmtomgr testgrid.pbm | mgrtopbm | cksum