Skip to content

Commit

Permalink
selftests: add mq_open_tests
Browse files Browse the repository at this point in the history
Add a directory to house POSIX message queue subsystem specific tests.
Add first test which checks the operation of mq_open() under various
corner conditions.

Signed-off-by: Doug Ledford <dledford@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Joe Korty <joe.korty@ccur.com>
Cc: Amerigo Wang <amwang@redhat.com>
Cc: Serge E. Hallyn <serue@us.ibm.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Doug Ledford authored and Linus Torvalds committed Jun 1, 2012
1 parent cef0184 commit 50069a5
Show file tree
Hide file tree
Showing 3 changed files with 501 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TARGETS = breakpoints vm
TARGETS = breakpoints mqueue vm

all:
for TARGET in $(TARGETS); do \
Expand Down
8 changes: 8 additions & 0 deletions tools/testing/selftests/mqueue/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
all:
gcc -O2 -lrt mq_open_tests.c -o mq_open_tests

run_tests:
./mq_open_tests /test1

clean:
rm -f mq_open_tests
Loading

0 comments on commit 50069a5

Please sign in to comment.