about summary refs log tree commit diff
path: root/test/facesaver-roundtrip.test
blob: 362edaf5f32f67a779028dac46a780cf044a1bb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash
# This script tests: pgmtofs fstopgm
# Also requires: ppmtopgm

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

# Should produce 2871603838 33838, cksum of testimg.pgm

ppmtopgm testimg.ppm | \
  pgmtofs | fstopgm | cksum