#!/bin/bash

set -x

THIS=$0
SCRIPT=${THIS%.sh}.tcl
OUTPUT=${THIS%.sh}.out

bin/turbine -l -n 3 ${SCRIPT} >& ${OUTPUT}
[[ ${?} == 0 ]] || exit 1

grep -q "container size: 5"  ${OUTPUT} || exit 1

exit 0

#!/bin/bash

set -x

THIS=$0
SCRIPT=${THIS%.sh}.tcl
OUTPUT=${THIS%.sh}.out

bin/turbine -l -n 2 ${SCRIPT} >& ${OUTPUT}
[[ ${?} == 0 ]] || exit 1

grep -q "container size: 5"  ${OUTPUT} || exit 1

exit 0

--- 
+++ 
@@ -6,7 +6,7 @@
 SCRIPT=${THIS%.sh}.tcl
 OUTPUT=${THIS%.sh}.out
 
-bin/turbine -l -n 3 ${SCRIPT} >& ${OUTPUT}
+bin/turbine -l -n 2 ${SCRIPT} >& ${OUTPUT}
 [[ ${?} == 0 ]] || exit 1
 
 grep -q "container size: 5"  ${OUTPUT} || exit 1
Test started failing b/c not enough workers

git-svn-id: 4403cc1077de9de61ebbb06aa07b0a825c555f62@4914 dc4e9af1-7f46-4ead-bba6-71afc04862de
