File: cpmrc-pattern-tests

package info (click to toggle)
cpm 0.32-1.6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,644 kB
  • sloc: ansic: 7,380; makefile: 509; perl: 406; sh: 303
file content (31 lines) | stat: -rw-r--r-- 978 bytes parent folder | download | duplicates (6)
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
# ##############################################################################
# resource file for the search pattern tests
# ##############################################################################


# we use the same config as for the encryption stuff
Include "tests/cpmrc-crypt-tests"


# default template names
# these template names are only used as long as nothing else is defined in
# the database file.
TemplateName "field1"
TemplateName "field2"
TemplateName "field3"


# patterns which test ok
SearchPattern "ok f1: <field1>@<field2>" "ok r1: <field3>"
SearchPattern "ok f2: <field1>@<field2>" "ok r2: \\<<field3>\\>"


# error patterns
SearchPattern "err f3: <field1<field2>>" "err r3: <field3>"
SearchPattern "err f4: <field1><field2>>" "err r4: <field3>"
SearchPattern "err f5: <field1><field2>>" "err r5: <field3>"
SearchPattern "err f3: <field1" "err r3: \\<<field3>\\>"


# ##############################################################################