]> granicus.if.org Git - php/commitdiff
Do not run test if session extension is not avaliable.
authorIlia Alshanetsky <iliaa@php.net>
Sat, 10 Jan 2004 18:32:46 +0000 (18:32 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sat, 10 Jan 2004 18:32:46 +0000 (18:32 +0000)
ext/soap/tests/server009.phpt

index 3082965d825d3887a94053b36a8f242f852313cc..cefb828ec05ab3f19df3933b6e3daf008a755a5e 100644 (file)
@@ -1,7 +1,12 @@
 --TEST--
 SOAP Server 9: setclass and setpersistence(SOAP_PERSISTENCE_SESSION)
 --SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php
+       require_once('skipif.inc');
+       if (!extension_loaded('session')) {
+               die('skip this test needs session extension');
+       }
+?>
 --FILE--
 <?php
 class foo {