msgctl: fix a bug of No such file or directory
The binary file of msgctl is installed in /opt/ltp/lib/. When execute msgctl,
"pan(23126): execvp of 'msgctl01' (tag msgctl01) failed. errno:2 No such file or directory"
will be outputed.
The bug is caused by commit 119cf4a626d0a96dd106546987dff276c0e53acb.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
diff --git a/testcases/kernel/syscalls/ipc/Makefile b/testcases/kernel/syscalls/ipc/Makefile
index 69c6e8c..42492db 100644
--- a/testcases/kernel/syscalls/ipc/Makefile
+++ b/testcases/kernel/syscalls/ipc/Makefile
@@ -22,7 +22,7 @@
LIBDIR := lib
FILTER_OUT_DIRS := $(LIBDIR)
-LIB := $(LIBDIR)/libipc.a
+LIB := $(LIBDIR)/libipc.a $(LIBDIR)/libmsgctl.a
$(LIBDIR):
mkdir -p "$@"