003 File Manager
Current Path:
/usr/src/bin/pkill/tests
usr
/
src
/
bin
/
pkill
/
tests
/
📁
..
📄
Makefile
(1.09 KB)
📄
Makefile.depend
(176 B)
📄
pgrep-F_test.sh
(367 B)
📄
pgrep-LF_test.sh
(638 B)
📄
pgrep-P_test.sh
(302 B)
📄
pgrep-U_test.sh
(569 B)
📄
pgrep-_g_test.sh
(570 B)
📄
pgrep-_s_test.sh
(345 B)
📄
pgrep-g_test.sh
(567 B)
📄
pgrep-i_test.sh
(348 B)
📄
pgrep-j_test.sh
(3.34 KB)
📄
pgrep-l_test.sh
(275 B)
📄
pgrep-n_test.sh
(318 B)
📄
pgrep-o_test.sh
(318 B)
📄
pgrep-q_test.sh
(585 B)
📄
pgrep-s_test.sh
(563 B)
📄
pgrep-t_test.sh
(629 B)
📄
pgrep-v_test.sh
(399 B)
📄
pgrep-x_test.sh
(656 B)
📄
pkill-F_test.sh
(333 B)
📄
pkill-LF_test.sh
(595 B)
📄
pkill-P_test.sh
(274 B)
📄
pkill-U_test.sh
(511 B)
📄
pkill-_g_test.sh
(512 B)
📄
pkill-g_test.sh
(509 B)
📄
pkill-i_test.sh
(319 B)
📄
pkill-j_test.sh
(3.04 KB)
📄
pkill-s_test.sh
(505 B)
📄
pkill-t_test.sh
(613 B)
📄
pkill-x_test.sh
(658 B)
Editing: pgrep-n_test.sh
#!/bin/sh # $FreeBSD$ base=`basename $0` echo "1..1" name="pgrep -n" sleep=$(pwd)/sleep.txt ln -sf /bin/sleep $sleep $sleep 5 & oldpid=$! $sleep 5 & sleep 0.3 newpid=$! pid=`pgrep -f -n $sleep` if [ "$pid" = "$newpid" ]; then echo "ok - $name" else echo "not ok - $name" fi kill $oldpid kill $newpid rm -f $sleep
Upload File
Create Folder