#! /bin/bash # This script tests: ppmbrighten # Also requires: alias ppmbrighten="${PBM_TESTPREFIX}ppmbrighten" shopt -s expand_aliases ppmbrighten -v 100 testimg.ppm | cksum ppmbrighten -v 100 -normalize testimg.ppm | cksum ppmbrighten -s 100 -v -50 testimg.ppm | cksum