diff -up ./tests/dbtests/dbtests.sh.handle_time ./tests/dbtests/dbtests.sh --- ./tests/dbtests/dbtests.sh.handle_time 2023-07-29 14:39:51.907864604 -0700 +++ ./tests/dbtests/dbtests.sh 2023-07-29 14:40:58.268377159 -0700 @@ -362,11 +362,12 @@ dbtest_main() dtime=$(time -p (certutil -K -d ${BIG_DIR} -f ${R_PWFILE}) 2>&1 1>/dev/null) echo "------------- time ----------------------" echo $dtime + expected_time=${NSS_EXPECTED_TIME-2} # now parse the real time to make sure it's subsecond RARRAY=($dtime) TIMEARRAY=(${RARRAY[1]//./ }) echo "${TIMEARRAY[0]} seconds" - test ${TIMEARRAY[0]} -lt 2 + test ${TIMEARRAY[0]} -lt ${expected_time} ret=$? html_msg ${ret} 0 "certutil dump keys with explicit default trust flags" fi