about summary refs log tree commit diff
path: root/rt/tst-mqueue7.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-15 15:52:41 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-17 19:17:41 +0100
commit9702a41cee31e3588e46485a5db06d1d7c222d30 (patch)
tree821082023cc14e6704589afd7bc261b516bc44b6 /rt/tst-mqueue7.c
parent5f3a7ebc358fdcbafcab4f1bf4067120fb519dfc (diff)
downloadglibc-9702a41cee31e3588e46485a5db06d1d7c222d30.tar.gz
glibc-9702a41cee31e3588e46485a5db06d1d7c222d30.tar.xz
glibc-9702a41cee31e3588e46485a5db06d1d7c222d30.zip
rt/tst-mqueue*: Return UNSUPPORTED when mq_open fails with ENOSYS
Rather than returning 0 or a failure.
Diffstat (limited to 'rt/tst-mqueue7.c')
-rw-r--r--rt/tst-mqueue7.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rt/tst-mqueue7.c b/rt/tst-mqueue7.c
index 302e9e454c..948c0d1326 100644
--- a/rt/tst-mqueue7.c
+++ b/rt/tst-mqueue7.c
@@ -25,6 +25,7 @@
 #include <sys/wait.h>
 #include <time.h>
 #include <unistd.h>
+#include <support/check.h>
 
 #define OPT_AFTEREXEC 20000