1#! /bin/sh 2 3# Test general operation. 4 5tmpfiles="" 6trap 'rm -fr $tmpfiles' 1 2 3 15 7 8tmpfiles="$tmpfiles msguniq-1.out" 9: ${MSGUNIQ-msguniq} 10${MSGUNIQ} -w 1000 -o msguniq-1.out ${top_srcdir}/tests/msguniq-a.in 11test $? = 0 || { rm -fr $tmpfiles; exit 1; } 12 13: ${DIFF=diff} 14${DIFF} ${top_srcdir}/tests/msguniq-a.out msguniq-1.out 15result=$? 16 17rm -fr $tmpfiles 18 19exit $result 20