#! /bin/bash
# This script tests: pgmtofs fstopgm
# Also requires: pamchannel pamtopnm


# Should produce 1571496937 33838, cksum of testimg.red

pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \
  pgmtofs | fstopgm | cksum
