File: test-pybcheck

package info (click to toggle)
pybliographer 1.2.12-4squeeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,560 kB
  • ctags: 1,413
  • sloc: python: 9,817; xml: 2,560; sh: 813; makefile: 621
file content (15 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. ${srcdir}/testing.sh

tst_start

run ../pybliographer -q ${srcdir}/../scripts/pybcheck.py ${srcdir}/bibtex.bib > /dev/null 2>&1

../pybliographer -q ${srcdir}/../scripts/pybcheck.py ${srcdir}/broken.bib  > /dev/null 2>&1
if test $? = 0 ; then
	echo "should have failed !"
	exit 1
fi

tst_stop