2 * Copyright (c) 2003, Intel Corporation. All rights reserved.
3 * Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com
4 * This file is licensed under the GPL license. For the full content
5 * of this license, see the COPYING file at the top level of this
10 * Test that if there are two /s in a message queue name, the behavior
11 * is implementation defined.
18 #include <sys/types.h>
21 #include "posixtest.h"
30 sprintf(qname, "/tmp/msgqueue_%d", getpid());
32 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
33 if (queue == (mqd_t)-1) {
34 printf("This implementation does not appear to support\n");
35 printf("message queue names with two /s in them.\n");
42 printf("This implementation may support message queue\n");
43 printf("names with two /s in them.\n");
44 printf("Test PASSED\n");