#!/bin/sh 

run_clean

echo '---running daisychain likes_python 0 scaling'
run_one 0  1> log 2>/dev/null
result=`grep PASSED log 2>/dev/null`
if [ "$result" = "" ]; then
   echo "   ERROR"
else   
   echo "   PASSED"
fi
rm -rf log


echo '---running daisychain likes_python 10 scaling'
run_one 10  1> log 2>/dev/null
result=`grep PASSED log 2>/dev/null`
if [ "$result" = "" ]; then
   echo "   ERROR"
else   
   echo "   PASSED"
fi
rm -rf log

echo '---running daisychain likes_python 20 scaling'
run_one 20  1> log 2>/dev/null
result=`grep PASSED log 2>/dev/null`
if [ "$result" = "" ]; then
   echo "   ERROR"
else   
   echo "   PASSED"
fi
rm -rf log

echo '---running daisychain likes_python 30 scaling'
run_one 30  1> log 2>/dev/null
result=`grep PASSED log 2>/dev/null`
if [ "$result" = "" ]; then
   echo "   ERROR"
else   
   echo "   PASSED"
fi
rm -rf log

echo '---running daisychain likes_python 100 scaling'
run_one 100  1> log 2>/dev/null
result=`grep PASSED log 2>/dev/null`
if [ "$result" = "" ]; then
   echo "   ERROR"
else   
   echo "   PASSED"
fi
rm -rf log

echo '---running daisychain likes_python 200 scaling'
run_one 200  1> log 2>/dev/null
result=`grep PASSED log 2>/dev/null`
if [ "$result" = "" ]; then
   echo "   ERROR"
else   
   echo "   PASSED"
fi
rm -rf log

