Need to use "expr" in sh script for adding errors.
git-svn-id: svn://10.0.0.236/branches/NSS_LIBPKIX_BRANCH@177180 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -140,7 +140,7 @@ runTests.sh ${arenasArg} ${checkMemArg} ${quietArg}
|
||||
pkixErrors=$?
|
||||
html_msg $? 0 "RUNNING tests in pkix_test"
|
||||
|
||||
totalErrors=pkixErrors+pkixplErrors
|
||||
totalErrors=`expr ${pkixErrors} + ${pkixplErrors}`
|
||||
|
||||
if [ ${totalErrors} -eq 0 ]; then
|
||||
echo "\n************************************************************"
|
||||
@@ -161,7 +161,7 @@ if [ ${totalErrors} -ne 0 ]; then
|
||||
echo "\n************************************************************"
|
||||
echo "END OF ALL TESTS: ${totalErrors} TEST${plural} FAILED"
|
||||
echo "************************************************************"
|
||||
html_msg 1 0 "${totalErrors} TEST${plural} FAILED"
|
||||
html_msg 1 0 "${totalErrors} LIBPKIX TEST${plural} FAILED"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user