Bump expected cache threshhold for systems with larger default pagesizes.

This commit is contained in:
Ward Fisher 2024-07-17 16:23:33 -06:00
parent ca36d9940d
commit 6aacb1b7ae

View File

@ -87,11 +87,11 @@ main(void)
{
size_t mbused = getPeakRSS() / (1024 * 1024);
printf("Max mem: %zu MB\n", mbused);
if(mbused > 100) {
printf("*** Failed: used: %luMB expected: < 100MB\n",mbused);
if(mbused > 128) {
printf("*** Failed: used: %luMB expected: < 128\n",mbused);
return (1);
} else {
printf("*** Passed: used: %luMB (< 100MB)\n",mbused);
printf("*** Passed: used: %luMB (< 128)\n",mbused);
return 0;
}
}