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