Tests/AAPITS: Properly return status for early limit check.

Return a valid status on cache size check failure. Reported
by Colin Ian King.
This commit is contained in:
Robert Moore 2014-03-25 12:54:44 -07:00
parent cf2f362d26
commit c80fd53cde

View File

@ -4188,7 +4188,7 @@ AtInitTest0058(void)
printf ("Test Error: AtInitTest0058 skipped due to too small"
"ACPI_MAX_OBJECT_CACHE_DEPTH constant (%d)\n",
ACPI_MAX_OBJECT_CACHE_DEPTH);
return (Status);
return (AE_LIMIT);
}
if (ACPI_FAILURE(Status = AtAMLcodeFileNameSet("init0058.aml")))