]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/commitdiff
Optionally daemonize FRSH components (used in tests)
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Jun 2010 23:42:02 +0000 (01:42 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Jun 2010 23:42:02 +0000 (01:42 +0200)
Now, it is not necessary to sleep in test to wait for fcb to initialize.

build/aquosa/tests/t0001-negotiation.sh
src/forb
src/frsh

index 2977840d23794392b7a26f13f05f5b1731954510..3e5cfdcddd0cf5aeab319b0962882ca7f9eb7351 100755 (executable)
@@ -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`
 
index 2c4c9c7a78b54d4770ae2938016dc182efc622e6..d9f0c1e70ced9038fb33e65f3aa4c1e8f519366f 160000 (submodule)
--- a/src/forb
+++ b/src/forb
@@ -1 +1 @@
-Subproject commit 2c4c9c7a78b54d4770ae2938016dc182efc622e6
+Subproject commit d9f0c1e70ced9038fb33e65f3aa4c1e8f519366f
index d63b2c731dda6c59709220fdf70f7d0012bbdfd0..41e37f2220475bafb4bf274f5800dd1734581a10 160000 (submodule)
--- a/src/frsh
+++ b/src/frsh
@@ -1 +1 @@
-Subproject commit d63b2c731dda6c59709220fdf70f7d0012bbdfd0
+Subproject commit 41e37f2220475bafb4bf274f5800dd1734581a10