about summary refs log tree commit diff
path: root/test/pamfile.test
blob: 689578f161e6dbf486bb88116c6827c622a6e13f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/bash
# This script tests: pamfile
# Also requires: ppmtopgm

  alias pamfile="${PBM_TESTPREFIX}pamfile"
  alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm"
  shopt -s expand_aliases

pamfile testimg.ppm
pamfile testgrid.pbm
ppmtopgm testimg.ppm | pamfile