--TEST-- General semaphore and shared memory test --SKIPIF-- --FILE-- --EXPECTF-- Start. Got semaphore Resource id #%i. Success acquire semaphore Resource id #%i. Success to attach shared memory : %s. Write var1 to shared memory. Write var2 to shared memory. Read var1=Variable 1. Read var2=Variable 2. Semaphore Resource id #%s released. Shared memory successfully removed from SysV. semaphore removed successfully from SysV. End.