#! /bin/sh # Copyright (C) 2012 Peter Breitenlohner # You may freely use, modify and/or distribute this file. rm -f barsant* pmxaerr.dat cp $test_src/barsant.pmx . failed= ./scor2prt barsant \ && diff barsant1.pmx $test_src/barsant1.pmx \ && diff barsant2.pmx $test_src/barsant2.pmx \ || failed="$failed scor2prt" ./pmxab barsant \ && diff barsant.mid $test_src/barsant.mid \ && diff barsant.pml $test_src/barsant.pml \ && diff barsant.tex $test_src/barsant.tex \ || failed="$failed pmxab" test -z "$failed" && exit 0 echo "failed tests:$failed" exit 1