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

  alias hdifftopam="${PBM_TESTPREFIX}hdifftopam"
  alias pamtohdiff="${PBM_TESTPREFIX}pamtohdiff"
  shopt -s expand_aliases

pamtohdiff testimg.ppm | \
  hdifftopam -pnm | cksum