summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2014-03-25 12:54:44 -0700
committerRobert Moore <Robert.Moore@intel.com>2014-03-25 12:54:44 -0700
commitc80fd53cde23593f9e8d36b061ebe745b2c7f551 (patch)
tree30d684c1f05e9e0e5e368785f8ff7314f52bc631 /tests
parentcf2f362d26cea646b73c07ef5cb73f18db6c5a76 (diff)
downloadacpica-c80fd53cde23593f9e8d36b061ebe745b2c7f551.tar.gz
Tests/AAPITS: Properly return status for early limit check.
Return a valid status on cache size check failure. Reported by Colin Ian King.
Diffstat (limited to 'tests')
-rw-r--r--tests/aapits/atinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/aapits/atinit.c b/tests/aapits/atinit.c
index 5bb8ee306..50844a594 100644
--- a/tests/aapits/atinit.c
+++ b/tests/aapits/atinit.c
@@ -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")))