[rtems commit] psxmsgq03: Adjust test case
Sebastian Huber
sebh at rtems.org
Sat Feb 1 13:58:05 UTC 2020
Module: rtems
Branch: master
Commit: b4387313f711c010f5c3f7ad6a0843ae80ed661c
Changeset: http://git.rtems.org/rtems/commit/?id=b4387313f711c010f5c3f7ad6a0843ae80ed661c
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Jan 28 15:03:22 2020 +0100
psxmsgq03: Adjust test case
Commit e22554535796fc29a7ed7c5e2338128e324a621d changed the error status
from ENOMEM to EAGAIN.
Update #3857.
---
testsuites/psxtests/psxmsgq03/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuites/psxtests/psxmsgq03/init.c b/testsuites/psxtests/psxmsgq03/init.c
index 1464442..281d8b8 100644
--- a/testsuites/psxtests/psxmsgq03/init.c
+++ b/testsuites/psxtests/psxmsgq03/init.c
@@ -95,7 +95,7 @@ void *POSIX_Init(
puts( "ERROR -- TSR DID NOT FIRE" );
rtems_test_exit( 0 );
}
- if ( (tsr_status != -1) || (tsr_errno != ENOMEM) ) {
+ if ( (tsr_status != -1) || (tsr_errno != EAGAIN) ) {
puts( "ERROR -- TSR DID NOT RETURN CORRECT STATUS" );
printf(
"status=%d errno=%d --> %s\n",
More information about the vc
mailing list