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

${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