Hi!
> + ipc_id = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666);
> + if (ipc_id < 0) {
> + tst_res(TINFO, "Semaphore already exists");
> + ipc_id = SAFE_SEMGET(MY_KEY, 1, 0);
> }
> +}
Same here, I do not think that we should blindly reuse existing
semaphore.
--
Cyril Hrubis
chrubis@suse.cz