#!/bin/csh -f

# run on test file, diff with "golden" file

${HOME}/bin/${MACHTYPE}/scaffoldFaToAgp test.fa  >& /dev/null

diff test.agp test.agp.gold > /dev/null
set status1 = $status
diff test.lft test.lft.gold > /dev/null
set status2 = $status
diff test.gap test.gap.gold > /dev/null
if ($status || $status1 || $status2) then
    echo '*** FAIL ***'
endif
rm -f test.lft test.agp test.gap
