5
ctx_count=`ls |grep -c context_load`
6
if [ $ctx_count -le 1 ];then
7
echo "we should execute test_algs.sh first!"
11
rm test_readpublic_*.log
13
for context_p in `ls context_load*`
15
./tpm2_readpublic -c $context_p -o rd-opu_"$context_p"
17
echo "readpublic for "$context_p" fail, please check the environment or parameters!"
18
echo "readpublic for "$context_p" fail" >>test_readpublic_error.log
20
echo "readpublic for "$context_p" pass" >>test_readpublic__pass.log