Testsuite: avoid time-quantization issue
[exim.git] / test / scripts / 2300-DBM / 2300
CommitLineData
59371ea7
PH
1# DBM files and exim_dbmbuild
2# This tests not only the exim_dbmbuild utility, but also dbm lookups.
3
4write test-dbm-input 1x10000=xxxxxxxx:_ 2x512=_
5++++
6****
7dbmbuild test-dbm-input test-dbm-file
8exim -be
9lsearch: ${lookup{xxxxxxxx}lsearch{DIR/test-dbm-input}}
10dbm: ${lookup{xxxxxxxx}dbm{DIR/test-dbm-file}}
11****
12write test-dbm-input 1x20000=xxxxxxxx:_ 2x512=_
13++++
14****
15dbmbuild test-dbm-input test-dbm-file
16write test-dbm-input 1x19999=xxxxxxxx:_ 4x19999=_ 1x50=_
17++++
18****
19dbmbuild test-dbm-input test-dbm-file
20write test-dbm-input
21abc: [abc]
22#ignored
23"abc:" [abc:]
24"#xyz:": [#xyz:]
25"a \"b\" c" [a "b" c]
26++++
27****
28dbmbuild test-dbm-input test-dbm-file
29exim -be
30${lookup{abc}dbm{DIR/test-dbm-file}}
31${lookup{abc:}dbm{DIR/test-dbm-file}}
32${lookup{#xyz:}dbm{DIR/test-dbm-file}}
33${lookup{a "b" c}dbm{DIR/test-dbm-file}}
34****