Deleted Added
sdiff udiff text old ( 149474 ) new ( 263351 )
full compact
1#!/bin/sh
2# $FreeBSD: head/bin/pkill/tests/pgrep-LF_test.sh 263351 2014-03-19 12:46:04Z jmmv $
3
4base=`basename $0`
5
6echo "1..2"
7
8name="pgrep -LF <pidfile>"
9pidfile=$(pwd)/pidfile.txt
10sleep=$(pwd)/sleep.txt
11ln -sf /bin/sleep $sleep
12daemon -p $pidfile $sleep 5
13sleep 0.3
14chpid=`cat $pidfile`
15pid=`pgrep -f -L -F $pidfile $sleep`
16if [ "$pid" = "$chpid" ]; then
17 echo "ok 1 - $name"
18else

--- 23 unchanged lines hidden ---