tony2001                Mon Jun 25 17:37:55 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/sysvshm/tests  003.phpt 
  Log:
  MFH
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sysvshm/tests/003.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/sysvshm/tests/003.phpt
diff -u php-src/ext/sysvshm/tests/003.phpt:1.1.2.2 
php-src/ext/sysvshm/tests/003.phpt:1.1.2.3
--- php-src/ext/sysvshm/tests/003.phpt:1.1.2.2  Thu Jun 29 09:00:33 2006
+++ php-src/ext/sysvshm/tests/003.phpt  Mon Jun 25 17:37:55 2007
@@ -5,7 +5,7 @@
 --FILE--
 <?php
 
-$key = ftok(__FILE__, 'q');
+$key = ftok(dirname(__FILE__)."/003.phpt", 'q');
 
 var_dump(shm_detach());
 var_dump(shm_detach(1,1));
@@ -22,6 +22,14 @@
 
 echo "Done\n";
 ?>
+--CLEAN--
+<?php
+
+$key = ftok(dirname(__FILE__)."/003.phpt", 'q');
+$s = shm_attach($key);
+shm_remove($s);
+
+?>
 --EXPECTF--    
 Warning: Wrong parameter count for shm_detach() in %s on line %d
 NULL

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to