about summary refs log tree commit diff
path: root/test/cut-paste-roundtrip.test
blob: 15e53219a12a909532a183cf986161bffeb7f911 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#! /bin/bash
# This script tests: pamcut pnmpaste
# Also requires: 

  alias pamcut="${PBM_TESTPREFIX}pamcut"
  alias pnmpaste="${PBM_TESTPREFIX}pnmpaste"
  shopt -s expand_aliases

pamcut 50 40 100 70 testimg.ppm | \
pnmpaste -replace - 50 40 testimg.ppm | cksum