summaryrefslogtreecommitdiff
path: root/Build/source/utils/pmx/pmx-2.6.21/pmx.test
blob: 4055a6e47edb28cac3cca13b6fe742e3ce01aa80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh

# Copyright (C) 2012 Peter Breitenlohner <tex-live@tug.org>
# 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