diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-04-16 22:28:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-16 22:28:50 +0000 |
commit | edb4d496a81637e9232301fe89086f164327f74a (patch) | |
tree | 4e8fe0ee0bc247cd7ae918d45f8323849eb5c6b3 /rt/tst-mqueue3.c | |
parent | b575c52b86fe0c00adec925e356eb72cf95b23a7 (diff) | |
download | glibc-edb4d496a81637e9232301fe89086f164327f74a.zip glibc-edb4d496a81637e9232301fe89086f164327f74a.tar.gz glibc-edb4d496a81637e9232301fe89086f164327f74a.tar.bz2 |
Update.
* rt/tst-mqueue3.c (do_test): Cope with kernel without mq support.
Diffstat (limited to 'rt/tst-mqueue3.c')
-rw-r--r-- | rt/tst-mqueue3.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rt/tst-mqueue3.c b/rt/tst-mqueue3.c index 021a373..990e057 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; } |