1--TEST--
2DBA tcadb opening matrix of combination
3--EXTENSIONS--
4dba
5--SKIPIF--
6<?php
7require_once __DIR__ . '/setup/setup_dba_tests.inc';
8check_skip('tcadb');
9?>
10--FILE--
11<?php
12require_once __DIR__ . '/setup/setup_dba_tests.inc';
13
14$handler = 'tcadb';
15run_creation_tests($handler);
16
17?>
18--CLEAN--
19<?php
20require_once __DIR__ . '/setup/setup_dba_tests.inc';
21$handler = 'tcadb';
22clean_creation_tests($handler);
23?>
24--EXPECTF--
25=== OPENING NON-EXISTING FILE ===
26Mode parameter is "rl":
27
28Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
29Opening DB failed
30Mode parameter is "rd":
31
32Warning: dba_open(tcadb_not_existing.tch): Failed to open stream: No such file or directory in %s on line %d
33Opening DB failed
34Mode parameter is "r-":
35
36Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
37Opening DB failed
38Mode parameter is "r":
39
40Warning: dba_open(tcadb_not_existing.tch): Failed to open stream: No such file or directory in %s on line %d
41Opening DB failed
42Mode parameter is "wl":
43
44Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
45Opening DB failed
46Mode parameter is "wd":
47
48Warning: dba_open(tcadb_not_existing.tch): Failed to open stream: No such file or directory in %s on line %d
49Opening DB failed
50Mode parameter is "w-":
51
52Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
53Opening DB failed
54Mode parameter is "w":
55
56Warning: dba_open(tcadb_not_existing.tch): Failed to open stream: No such file or directory in %s on line %d
57Opening DB failed
58Mode parameter is "cl":
59This is a test insert
60Mode parameter is "cd":
61This is a test insert
62Mode parameter is "c-":
63This is a test insert
64Mode parameter is "c":
65This is a test insert
66Mode parameter is "nl":
67This is a test insert
68Mode parameter is "nd":
69This is a test insert
70Mode parameter is "n-":
71This is a test insert
72Mode parameter is "n":
73This is a test insert
74=== OPENING EXISTING DB FILE ===
75Mode parameter is "rl":
76
77Warning: dba_insert(): Cannot perform a modification on a readonly database in %s on line %d
78Insertion failed
79Mode parameter is "rd":
80
81Warning: dba_insert(): Cannot perform a modification on a readonly database in %s on line %d
82Insertion failed
83Mode parameter is "r-":
84
85Warning: dba_insert(): Cannot perform a modification on a readonly database in %s on line %d
86Insertion failed
87Mode parameter is "r":
88
89Warning: dba_insert(): Cannot perform a modification on a readonly database in %s on line %d
90Insertion failed
91Mode parameter is "wl":
92This is a test insert
93Mode parameter is "wd":
94This is a test insert
95Mode parameter is "w-":
96This is a test insert
97Mode parameter is "w":
98This is a test insert
99Mode parameter is "cl":
100This is a test insert
101Mode parameter is "cd":
102This is a test insert
103Mode parameter is "c-":
104This is a test insert
105Mode parameter is "c":
106This is a test insert
107Mode parameter is "nl":
108This is a test insert
109Mode parameter is "nd":
110This is a test insert
111Mode parameter is "n-":
112This is a test insert
113Mode parameter is "n":
114This is a test insert
115=== OPENING EXISTING RANDOM FILE ===
116Mode parameter is "rl":
117
118Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
119Opening DB failed
120Mode parameter is "rd":
121
122Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
123Opening DB failed
124Mode parameter is "r-":
125
126Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
127Opening DB failed
128Mode parameter is "r":
129
130Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
131Opening DB failed
132Mode parameter is "wl":
133
134Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
135Opening DB failed
136Mode parameter is "wd":
137
138Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
139Opening DB failed
140Mode parameter is "w-":
141
142Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
143Opening DB failed
144Mode parameter is "w":
145
146Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
147Opening DB failed
148Mode parameter is "cl":
149
150Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
151Opening DB failed
152Mode parameter is "cd":
153
154Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
155Opening DB failed
156Mode parameter is "c-":
157
158Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
159Opening DB failed
160Mode parameter is "c":
161
162Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
163Opening DB failed
164Mode parameter is "nl":
165
166Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
167Opening DB failed
168Mode parameter is "nd":
169
170Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
171Opening DB failed
172Mode parameter is "n-":
173
174Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
175Opening DB failed
176Mode parameter is "n":
177
178Warning: dba_open(): Driver initialization failed for handler: tcadb in %s on line %d
179Opening DB failed
180