In semaphore_test_01 case, it wanted to create a semaphore and printed out the semaphore ID for comparison with the output of the 'ipcs -s' command. So it didn't remove the semaphore when exited. Since the resource of semaphore is limited. It's better to write a shell script to perform the comparison and remove the semaphore. I wrote the bash script "testcases/kernel/ipc/ipc_stress/run_semaphore_test_01.sh", and patched the "Makefile" and "runtest/ipc" to run the script. Please clean the semaphore up post patching and before executing tests. Signed-Off-By: Jin Bing Guo <guojb@cn.ibm.com>.
diff --git a/runtest/ipc b/runtest/ipc
index eb1dd51..cbc4c63 100644
--- a/runtest/ipc
+++ b/runtest/ipc
@@ -39,7 +39,7 @@
 message_queue_test_05		message_queue_test_05
 pipe_test_01			pipe_test_01
 pipe_test_02			pipe_test_02
-semaphore_test_01		semaphore_test_01
+semaphore_test_01		run_semaphore_test_01.sh
 semaphore_test_02		semaphore_test_02
 semaphore_test_03		semaphore_test_03
 shmem_test_01			shmem_test_01