Module: xenomai-2.6
Branch: master
Commit: 0d2e48a6fd11d251de1ae787ba6e3ddaf3345c97
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=0d2e48a6fd11d251de1ae787ba6e3ddaf3345c97

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Feb  7 17:16:00 2012 +0100

testsuite: fix mq_select in the auto-shadowing case

shadowing the main thread in that case will fail, do not fail the test when
it happens.

---

 src/testsuite/regression/native+posix/mq_select.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/testsuite/regression/native+posix/mq_select.c 
b/src/testsuite/regression/native+posix/mq_select.c
index aabf77d..ee1806b 100644
--- a/src/testsuite/regression/native+posix/mq_select.c
+++ b/src/testsuite/regression/native+posix/mq_select.c
@@ -72,7 +72,7 @@ int main(void)
 
        fprintf(stderr, "Checking select service with posix message queues\n");
 
-       check_native(rt_task_shadow(&main_tcb, NULL, 0, 0));
+       rt_task_shadow(&main_tcb, NULL, 0, 0);
 
        mq = mq_open("/select_test_mq", O_RDWR | O_CREAT | O_NONBLOCK, 0, NULL);
        check_unix(mq == -1 ? -1 : 0);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to