Searched refs:pid2 (Results 1 - 9 of 9) sorted by relevance

/freebsd-10-stable/bin/pkill/tests/
H A Dpgrep-j_test.sh44 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 Dh_forkcli.c21 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 Dscenario.c269 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 Dredhat-opensm.init.in178 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 Dtest-pexecute.c384 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 Dflock_helper.c501 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 Dwatch_execve118 this->pid2 = this->proc->p_pid;
205 this->pid2, this->uid2, this->gid2, this->arg2_0);
H A Dwatch_kill121 this->pid2 = this->proc->p_pid;
210 this->pid2, this->uid2, this->gid2, this->arg2_0);
H A Dwatch_vop_remove417 this->pid2 = this->proc->p_pid;
454 this->pid2, this->uid2, this->gid2, this->arg2_0);

Completed in 160 milliseconds