File: import-export

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 (28 lines) | stat: -rwxr-xr-x 942 bytes parent folder | download | duplicates (3)
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
27
28
#!/bin/sh

. ${srcdir}/testing.sh

tst_start

run ../pybliographer -q ${srcdir}/import-export.py medline ${srcdir}/medline.med tmp.med
run ../pybliographer -q ${srcdir}/import-export.py medline tmp.med tmp2.med
run diff  tmp.med tmp2.med
run rm -f tmp.med tmp2.med

run ../pybliographer -q ${srcdir}/import-export.py refer ${srcdir}/refer.refer tmp.refer
run ../pybliographer -q ${srcdir}/import-export.py refer tmp.refer tmp2.refer
run diff  tmp.refer tmp2.refer
run rm -f tmp.refer tmp2.refer

run ../pybliographer -q ${srcdir}/import-export.py bibtex ${srcdir}/bibtex.bib tmp.bib
run ../pybliographer -q ${srcdir}/import-export.py bibtex tmp.bib tmp2.bib
run diff  tmp.bib tmp2.bib
run rm -f tmp.bib tmp2.bib

run ../pybliographer -q ${srcdir}/import-export.py ovid ${srcdir}/ovid.ovid tmp.ovid
run ../pybliographer -q ${srcdir}/import-export.py ovid tmp.ovid tmp2.ovid
run diff  tmp.ovid tmp2.ovid
run rm -f tmp.ovid tmp2.ovid

tst_stop