]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/commitdiff
Added demo script
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 26 Aug 2009 07:41:33 +0000 (09:41 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 26 Aug 2009 07:41:33 +0000 (09:41 +0200)
build/aquosa/frsh-forb-demo.sh [new file with mode: 0755]

diff --git a/build/aquosa/frsh-forb-demo.sh b/build/aquosa/frsh-forb-demo.sh
new file mode 100755 (executable)
index 0000000..163b61c
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh -x
+
+[ -d _compiled/bin ] && PATH=_compiled/bin:$PATH
+
+fcb&
+FCB_PID=$!
+sleep 1
+frm_gui &
+GUI_PID=$!
+frm_dummy &
+DUMMY_PID=$!
+sleep 1
+dummy_spare_capacity &
+S1=$!
+dummy_renegotiation &
+R1=$!
+sleep 1
+dummy_renegotiation &
+R1=$!
+frm_fwp &
+FWP_PID=$!
+wait $GUI_PID
+kill $FWP_PID $DUMMY_PID $FCB_PID $R1 $R2 $S1