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

${PBM_TESTPREFIX}pnmtopnm -plain testgrid.pbm

${PBM_BINPREFIX}pgmtopgm < testgrid.pbm | ${PBM_TESTPREFIX}pnmtopnm -plain

${PBM_BINPREFIX}ppmtoppm < testgrid.pbm | ${PBM_TESTPREFIX}pnmtopnm -plain | \
  head -n11