[go: up one dir, main page]

File: test08

package info (click to toggle)
diction 1.10~rc4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze, wheezy
  • size: 600 kB
  • ctags: 190
  • sloc: sh: 2,969; ansic: 2,445; makefile: 140
file content (22 lines) | stat: -rwxr-xr-x 300 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
#!/bin/sh

echo -n $0: 'End of sentence 2... '

cat >test.in <<'eof'
"A sentence inside logical quoting."
eof

cat >test.ref <<eof
No phrases in 1 sentence found.
eof

sh ./test/rundiction test.in >test.data

if cmp test.ref test.data
then
  rm -f test.*
  echo passed
else
  echo failed
  exit 1
fi