File: run-sample-analysis

package info (click to toggle)
libofx 1%3A0.9.14-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,308 kB
  • sloc: cpp: 6,237; ansic: 1,165; makefile: 172; xml: 61; sh: 43
file content (20 lines) | stat: -rwxr-xr-x 461 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -e
# http://dep.debian.net/deps/dep8/
# Autopkgtest: Test if libofx run correctly
# Author: Dylan Aïssi <bob.dybian@gmail.com>
# Last-Update: 2018-05-08

pkg=libofx
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $AUTOPKGTEST_TMP
cp -a /usr/share/doc/${pkg}-dev/ofx_sample_files/*.ofx $AUTOPKGTEST_TMP

for OFXFILE in *.ofx
do
	ofx2qif "${OFXFILE}" > "${OFXFILE}".qif
done

rm -f $AUTOPKGTEST_TMP/*