From: Michal Sojka Date: Fri, 18 Jun 2010 23:42:02 +0000 (+0200) Subject: Optionally daemonize FRSH components (used in tests) X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/frsh-forb.git/commitdiff_plain/c651803fc1bd96449d8f7669a1361bc946bada93 Optionally daemonize FRSH components (used in tests) Now, it is not necessary to sleep in test to wait for fcb to initialize. --- diff --git a/build/aquosa/tests/t0001-negotiation.sh b/build/aquosa/tests/t0001-negotiation.sh index 2977840d..3e5cfdcd 100755 --- a/build/aquosa/tests/t0001-negotiation.sh +++ b/build/aquosa/tests/t0001-negotiation.sh @@ -3,14 +3,9 @@ . ./wvtest.sh WVSTART Setup -set -e -fcb & FCB=$! -sleep 1 -frm_dummy & FRM=$! -sleep 1 -negotiation.wv - -WVSTART Kill -WVPASS kill $FCB -WVPASS kill $FRM +WVPASS fcb -dfcb.pid +WVPASS frm_dummy -dfrm.pid +WVPASS negotiation.wv +WVPASS kill `cat fcb.pid` +WVPASS kill `cat frm.pid` diff --git a/src/forb b/src/forb index 2c4c9c7a..d9f0c1e7 160000 --- a/src/forb +++ b/src/forb @@ -1 +1 @@ -Subproject commit 2c4c9c7a78b54d4770ae2938016dc182efc622e6 +Subproject commit d9f0c1e70ced9038fb33e65f3aa4c1e8f519366f diff --git a/src/frsh b/src/frsh index d63b2c73..41e37f22 160000 --- a/src/frsh +++ b/src/frsh @@ -1 +1 @@ -Subproject commit d63b2c731dda6c59709220fdf70f7d0012bbdfd0 +Subproject commit 41e37f2220475bafb4bf274f5800dd1734581a10