diff options
author | foobar <sniper@php.net> | 2003-04-25 15:43:28 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-04-25 15:43:28 +0000 |
commit | a64269f0dabfd6aa407c4b411d64bc75f691618b (patch) | |
tree | 5ce8d37337c9ce6ab46b4609bd4e9812bf4d1d2d /ext/interbase/tests/003.phpt | |
parent | 2219a6260686a7d2de63ab9bf9a9f34694a35b6d (diff) | |
download | php-git-a64269f0dabfd6aa407c4b411d64bc75f691618b.tar.gz |
Make these tests actually work.
Diffstat (limited to 'ext/interbase/tests/003.phpt')
-rw-r--r-- | ext/interbase/tests/003.phpt | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/ext/interbase/tests/003.phpt b/ext/interbase/tests/003.phpt index 4afee04cad..dbd1cec92b 100644 --- a/ext/interbase/tests/003.phpt +++ b/ext/interbase/tests/003.phpt @@ -1,16 +1,13 @@ --TEST-- InterBase: misc sql types (may take a while) --SKIPIF-- -<?php if (!extension_loaded("interbase")) print "skip"; ?> +<?php include("skipif.inc"); ?> --POST-- --GET-- --FILE-- -<? -/* $Id$ */ +<?php - require(dirname(__FILE__)."/interbase.inc"); - - $test_base = dirname(__FILE__)."/ibase_test.tmp"; + require("interbase.inc"); ibase_connect($test_base); @@ -29,7 +26,7 @@ InterBase: misc sql types (may take a while) )"); ibase_commit(); - /* if timefmt is not supported, suppress error here*/ + /* if timefmt is not supported, suppress error here */ @ibase_timefmt("%m/%d/%Y %H:%M:%S"); for($iter = 0; $iter < 10; $iter++){ @@ -81,13 +78,10 @@ InterBase: misc sql types (may take a while) echo " out: $row->V_INTEGER\n"; } ibase_free_result($sel); - }/* for($iter)*/ + } /* for($iter) */ ibase_close(); echo "end of test\n"; ?> --EXPECT-- - end of test - - |