From edb4d496a81637e9232301fe89086f164327f74a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 16 Apr 2004 22:28:50 +0000 Subject: Update. * rt/tst-mqueue3.c (do_test): Cope with kernel without mq support. --- rt/tst-mqueue3.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rt') diff --git a/rt/tst-mqueue3.c b/rt/tst-mqueue3.c index 021a373e5e..990e05728f 100644 --- a/rt/tst-mqueue3.c +++ b/rt/tst-mqueue3.c @@ -165,6 +165,12 @@ do_test (void) m = mq_open (mqname, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); if (m == -1) { + if (errno == ENOSYS) + { + puts ("not implemented"); + return 0; + } + puts ("mq_open failed"); return 1; } -- cgit v1.2.1