From: SVN Migration Date: Wed, 20 Nov 2002 15:56:57 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.0RC2~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=558795b06603a9b790321fea74a620847ad8769b;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- diff --git a/ext/shmop/tests/001.phpt b/ext/shmop/tests/001.phpt new file mode 100644 index 0000000000..1a1b926308 --- /dev/null +++ b/ext/shmop/tests/001.phpt @@ -0,0 +1,91 @@ +--TEST-- +shmop extension test +--SKIPIF-- + +--FILE-- + +--EXPECT-- +shm open for create: ok +shm size is: 1024 +shm write test #1: ok +data in memory is: test #1 of the shmop() extension +shm open for read only: ok +data in memory is: test #1 of the shmop() extension +trying to write to a read only segment +shm open for read only: ok +shm write test #1: ok +data in memory is: test #1 of the shmop() extensiontest #2 append data to shared memory segment +deletion of shm segment: ok