blob: 76de380d12eb057fe71a2caf7935f727d231f749 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /bin/bash
# This script tests: pgmtofs fstopgm
# Also requires: pamchannel
alias fstopgm="${PBM_TESTPREFIX}fstopgm"
alias pgmtofs="${PBM_TESTPREFIX}pgmtofs"
shopt -s expand_aliases
# Should produce 1571496937 33838, cksum of testimg.red
pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \
pgmtofs | fstopgm | cksum
|