diff options
Diffstat (limited to 'ext/pdo/tests/pdo_022.phpt')
-rw-r--r-- | ext/pdo/tests/pdo_022.phpt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/pdo/tests/pdo_022.phpt b/ext/pdo/tests/pdo_022.phpt index daec14f9ed..28a07994dd 100644 --- a/ext/pdo/tests/pdo_022.phpt +++ b/ext/pdo/tests/pdo_022.phpt @@ -2,7 +2,6 @@ PDO Common: PDOStatement::getColumnMeta --SKIPIF-- <?php # vim:ft=php -die('skip this feature is not yet finalized, no test makes sense'); if (!extension_loaded('pdo')) die('skip'); $dir = getenv('REDIR_TEST_DIR'); if (false == $dir) die('skip no driver'); @@ -18,6 +17,8 @@ PDOTest::skip(); * test file. */ ?> +--XFAIL-- +This feature is not yet finalized, no test makes sense --FILE-- <?php if (getenv('REDIR_TEST_DIR') === false) putenv('REDIR_TEST_DIR='.dirname(__FILE__) . '/../../pdo/tests/'); @@ -25,7 +26,7 @@ require_once getenv('REDIR_TEST_DIR') . 'pdo_test.inc'; $db = PDOTest::factory(); $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))'); -$db->exec('insert2', "INSERT INTO test VALUES(:first, :second, :third)"); +$db->exec('insert2', "INSERT INTO test VALUES(:first, :second, :third)"); $data = array( array('10', 'Abc', 'zxy'), |