#!/bin/sh echo '---running (python) attr script' make run_attr 1>/dev/null 2>& 1 result=`grep succeed attr.log 2>/dev/null` if [ "$result" = "" ]; then echo " ERROR" else echo " PASSED" fi echo '---running (python) encrypted key attr script' make run_e_attr 1>/dev/null 2>& 1 result=`grep succeed e_attr.log 2>/dev/null` if [ "$result" = "" ]; then echo " ERROR" else echo " PASSED" fi echo '---running (python) id script' make run_id 1>/dev/null 2>& 1 result=`grep IceCream_ID.pem id.log 2>/dev/null` if [ "$result" = "" ]; then echo " ERROR" else echo " PASSED" fi echo '---running (python) id script, expect failure' make run_id2 1>/dev/null 2>& 1 result=`grep "Id creation from filename failed" id2.log 2>/dev/null` if [ "$result" = "" ]; then echo " ERROR" else echo " PASSED" fi