#!/bin/sh # # Test pass through files. # . $srcdir/defs || exit 1 cat >test_input.ps <$output result=`tail -n +2 test_input.ps | cmp - $output` if test "X$result" != "X"; then exit 1 fi rm test_input.ps ### } echo 'D%!' | tr 'D' '\4' >test_input.ps cat >>test_input.ps <$output result=`tail -n +2 test_input.ps | cmp - $output` if test "X$result" != "X"; then exit 1 fi rm test_input.ps ### } echo '@E' | tr '@' '\33' >test_input.pcl cat >>test_input.pcl <$output result=`tail -n +2 test_input.pcl | cmp - $output` if test "X$result" != "X"; then exit 1 fi rm test_input.pcl ### } echo '@%' | tr '@' '\33' >test_input.pcl cat >>test_input.pcl <$output result=`tail -n +2 test_input.pcl | cmp - $output` if test "X$result" != "X"; then exit 1 fi rm test_input.pcl ### } rm $output