[go: up one dir, main page]

File: testissue72.sh

package info (click to toggle)
ucto 0.35-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,192 kB
  • sloc: cpp: 5,235; xml: 1,226; sh: 409; python: 151; makefile: 44
file content (31 lines) | stat: -rwxr-xr-x 715 bytes parent folder | download
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
29
30
31
#!/bin/bash

data_dir=/home/sloot/usr/local/share/ucto
if [ ! -d $data_dir ]
then
  data_dir=/exp/sloot/usr/local/share/ucto
  if [ ! -d $data_dir ]
  then
    data_dir=/usr/local/share/ucto
  fi
fi

if [ ! -d $data_dir ]
then
  echo "unable to find $data_dir"
  exit 1
fi

\rm -f issue72_*.xml

$exe -c $data_dir/tokconfig-nld datetime.nl.txt
$exe -c $data_dir/tokconfig-nld datetime.nl.txt issue72_a.xml
$folialint --nooutput issue72_a.xml 2>&1

$exe -c small.cfg datetime.nl.txt
$exe -c small.cfg datetime.nl.txt issue72_b.xml
$folialint --nooutput issue72_b.xml 2>&1

$exe -c small-tokconfig-nld datetime.nl.txt
$exe -c small-tokconfig-nld datetime.nl.txt issue72_c.xml
$folialint --nooutput issue72_c.xml 2>&1