summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/axodraw2/axohelp.test
blob: fa543bde75eb5e48a002c058cf5ae83968afad61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# Copyright (C) 2018 John Collins (jcc8@psu.edu)
# You may freely use, modify and/or distribute this file.

echo Running axohelp on test document ...
./axohelp test \
    || { echo axohelp failed to run correctly ; exit 1; }

echo Checking result ...
diff -sc test.ax2-std test.ax2 \
    || { echo The .ax2 file created by axohelp was incorrect; exit 1; }

echo Success, so I will remove generated file test.ax2
rm test.ax2