test:add testcase of checking installPackages

This commit is contained in:
chenhaoran 2022-11-03 10:33:47 +08:00
parent 49eee4c074
commit 99e4c0db48
1 changed files with 2 additions and 1 deletions

View File

@ -211,7 +211,8 @@ elif [[ ${packgeName} =~ "tar" ]];then
if [ ${diffNumbers} != 0 ];then if [ ${diffNumbers} != 0 ];then
echoColor R "The number and names of files is different from the previous installation package" echoColor R "The number and names of files is different from the previous installation package"
echoColor Y `cat ${installPath}/diffFile.log` diffLog=`cat ${installPath}/diffFile.log`
echoColor Y "${diffLog}"
exit -1 exit -1
else else
echoColor G "The number and names of files are the same as previous installation packages" echoColor G "The number and names of files are the same as previous installation packages"