about summary refs log tree commit diff
path: root/test/fits-roundtrip.test
blob: 655898238ac8d38cfc33a1c0bac6eae640dd00ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#! /bin/bash
# This script tests: pamtofits fitstopnm
# Also requires: 

  alias fitstopnm="${PBM_TESTPREFIX}fitstopnm"
  alias pamtofits="${PBM_TESTPREFIX}pamtofits"
  shopt -s expand_aliases

# Should produce 1926073387 101484, cksum of testimg.ppm
pamtofits testimg.ppm | fitstopnm | cksum