From b6e354116d4da5c7c6de59f87ab5815f21e202ed Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 3 Jun 2010 07:52:34 +0000 Subject: test-lib: remove ancient wait_for_pid() function It hasn't been used since the first month of development when we started using FIFOs --- t/test-lib.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/t/test-lib.sh b/t/test-lib.sh index dc6eed7..5cf5201 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -21,16 +21,6 @@ export PATH test -x $PWD/bin/unused_listen || die "must be run in 't' directory" -wait_for_pid () { - path="$1" - nr=30 - while ! test -s "$path" && test $nr -gt 0 - do - nr=$(($nr - 1)) - sleep 1 - done -} - # requires $1 and prints out the value of $2 require_check () { lib=$1 -- cgit v1.2.3-24-ge0c7