Showing with 2 additions and 2 deletions.
  1. +1 −0 test/system/test_all.sh
  2. +1 −2 test/system/test_tpm2_getrandom_func.sh
1 change: 1 addition & 0 deletions test/system/test_all.sh
Expand Up @@ -63,6 +63,7 @@ test_wrapper test_tpm2_takeownership_all.sh
test_wrapper test_tpm2_nv.sh
test_wrapper test_tpm2_pcrlist.sh
test_wrapper test_tpm2_getrandom.sh
test_wrapper test_tpm2_getrandom_func.sh
#test_wrapper test_tpm2_createprimary_all.sh
#test_wrapper test_tpm2_create_all.sh
test_wrapper test_tpm2_load.sh
Expand Down
3 changes: 1 addition & 2 deletions test/system/test_tpm2_getrandom_func.sh
Expand Up @@ -38,9 +38,8 @@ LOG_FILE=random_pass_count.log
fi
i=

#for((i=1;i<=10;i++)); do
for i in `seq 100`; do
tpm2_getrandom o random_"$i".out 32
tpm2_getrandom -o random_"$i".out 32
if [ $? != 0 ];then
echo " create random_"$i".out fail, please check the environment or parameters!"
exit 2
Expand Down