From cde6bdce5c440de2c7d96ae7c29a882cf3b6484f Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 18 Apr 2003 20:53:18 +0000 Subject: [PATCH] Improve test environment, fix 001.phpt and rename that one, also change from /tmp to dirname(__FILE__) --- ext/sqlite/tests/blankdb.inc | 6 ++++-- ext/sqlite/tests/sqlite_001.phpt | 5 +++-- ext/sqlite/tests/{001.phpt => sqlite_002.phpt} | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) rename ext/sqlite/tests/{001.phpt => sqlite_002.phpt} (98%) mode change 100644 => 100755 diff --git a/ext/sqlite/tests/blankdb.inc b/ext/sqlite/tests/blankdb.inc index 45d9753ba8..085d3b2b51 100644 --- a/ext/sqlite/tests/blankdb.inc +++ b/ext/sqlite/tests/blankdb.inc @@ -1,7 +1,9 @@ --FILE-- --EXPECTF-- diff --git a/ext/sqlite/tests/001.phpt b/ext/sqlite/tests/sqlite_002.phpt old mode 100644 new mode 100755 similarity index 98% rename from ext/sqlite/tests/001.phpt rename to ext/sqlite/tests/sqlite_002.phpt index 7ebb8ce465..537657d73c --- a/ext/sqlite/tests/001.phpt +++ b/ext/sqlite/tests/sqlite_002.phpt @@ -13,7 +13,7 @@ $r = sqlite_query("SELECT * from foo", $db); var_dump(sqlite_fetch_array($r)); ?> --EXPECT-- -array(4) { +array(6) { [0]=> string(10) "2002-01-02" ["c1"]=> -- 2.40.0