Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/5] git-p4 tests: refactor, split out common functions

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:04

Junio C Hamano [off-list ref] writes:
Yeah, something like

	: start
	p4d &
        echo $! >$pidfile
Obviously I should have written:

	: stop
        pid=$(cat "$pidfile")
	while kill -0 $pid
	do
		kill $pid
		sleep 1
	done

Sorry for the noise.
        : stop
	while kill -0 $pidfile
        do
	        kill $pidfile
                sleep 1
	done
quoted
Finding an unused port is also a pain.
I think the way t55xx series assign LIB_HTTPD_PORT is an acceptable
compromise.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help