Searched refs:pid2 (Results 1 - 9 of 9) sorted by relevance
/freebsd-10-stable/bin/pkill/tests/ |
H A D | pgrep-j_test.sh | 44 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \ 46 if [ "$pid1" = "$pid2" ]; then 49 echo "not ok 1 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" 65 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_2_1.pid)" \ 67 if [ "$pid1" = "$pid2" ]; then 70 echo "not ok 2 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" 86 echo "not ok 3 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" 105 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_4_1.pid)" \ 107 if [ "$pid1" = "$pid2" ]; then 110 echo "not ok 4 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" [all...] |
/freebsd-10-stable/contrib/netbsd-tests/rump/rumpkern/h_client/ |
H A D | h_forkcli.c | 21 pid_t pid1, pid2; local 42 if ((pid2 = rump_sys_getpid()) < 2) 43 errx(1, "unexpected pid %d", pid2); 44 if (pid1 == pid2)
|
/freebsd-10-stable/tools/regression/security/proc_to_proc/ |
H A D | scenario.c | 269 pid_t pid1, pid2; local 309 pid2 = fork(); 310 switch (pid2) { 409 error = waitpid(pid2, NULL, 0); 411 * Once pid2 has died, it's safe to kill pid1, if it's still 417 error = waitpid(pid2, NULL, 0);
|
/freebsd-10-stable/contrib/ofed/management/opensm/scripts/ |
H A D | redhat-opensm.init.in | 178 local pid2= 191 pid2=`pidof -o $$ -o $PPID -o %PPID -x $bin` 193 pid=`echo "$pid1 $pid2" | sed -e 's/\ /\n/g' | sort -n | uniq | sed -e 's/\n/\ /g'`
|
/freebsd-10-stable/contrib/gcclibs/libiberty/testsuite/ |
H A D | test-pexecute.c | 384 int pid1, pid2; local 405 pid2 = pexecute ("./test-pexecute", subargv, "test-pexecute", "temp", 407 if (pid2 < 0) 419 if (pwait (pid2, &status, 0) < 0)
|
/freebsd-10-stable/tests/sys/file/ |
H A D | flock_helper.c | 501 int pid1, pid2; local 531 pid2 = fork(); 532 if (pid2 < 0) 535 if (pid2 == 0) { 569 kill(pid2, SIGTERM); 570 safe_waitpid(pid2);
|
/freebsd-10-stable/share/dtrace/ |
H A D | watch_execve | 118 this->pid2 = this->proc->p_pid; 205 this->pid2, this->uid2, this->gid2, this->arg2_0);
|
H A D | watch_kill | 121 this->pid2 = this->proc->p_pid; 210 this->pid2, this->uid2, this->gid2, this->arg2_0);
|
H A D | watch_vop_remove | 417 this->pid2 = this->proc->p_pid; 454 this->pid2, this->uid2, this->gid2, this->arg2_0);
|
Completed in 160 milliseconds