#!/bin/sh 

rm -rf *.pem *.xml *.log *.out

echo '---setup principals'
./setup.py 1>attr.log 2>&1

echo '---run command '
env keystore=`pwd` ./attr.py > attr.out 2>&1

result=`cat attr.out |wc -l`
if [ $result -eq 9 ]; then
    echo "   PASSED"
else
    echo "   ERROR:basic_attribute test result differs!!!"
fi

