diff options
Diffstat (limited to 'testcases/network/rpc/rpc-tirpc/tests_pack')
151 files changed, 1069 insertions, 191 deletions
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile index 49ec2a522..42d111f9b 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile @@ -1,5 +1,20 @@ -# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. -# Copyright (c) 2020 Petr Vorel <pvorel@suse.cz> +# +# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# top_srcdir ?= ../../../../.. @@ -9,13 +24,6 @@ LIBDIR := lib FILTER_OUT_DIRS := $(LIBDIR) LIB := $(LIBDIR)/librpc-tirpc.a -# keep only rpc_* -ifeq ($(LIBTIRPC_LIBS),) -FILTER_OUT_MAKE_TARGETS += tirpc_cleaner -FILTER_OUT_DIRS += tirpc_svc_1 tirpc_svc_2 tirpc_svc_3 tirpc_svc_4 tirpc_svc_5 tirpc_svc_6 tirpc_svc_7 tirpc_svc_8 tirpc_svc_9 tirpc_svc_11 -endif - - $(LIBDIR): mkdir -p "$@" diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile.inc b/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile.inc index a5e66d202..c7093352a 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile.inc +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile.inc @@ -1,5 +1,20 @@ -# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. -# Copyright (c) 2020 Petr Vorel <pvorel@suse.cz> +# +# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# LIBRELDIR := testcases/network/rpc/rpc-tirpc/tests_pack/lib LIBDIR := $(abs_top_builddir)/$(LIBRELDIR) @@ -15,5 +30,5 @@ $(LIBRPC-TIRPC): $(LIBDIR) MAKE_DEPS += $(LIBRPC-TIRPC) LDFLAGS += -L$(LIBDIR) -LDLIBS += $(LIBTIRPC_LIBS) -lrpc-tirpc -CFLAGS += $(LIBTIRPC_CFLAGS) -I$(LIBSRCDIR) -I$(LIBSRCDIR)/../include -pthread +LDLIBS += $(TIRPC_LIBS) -lrpc-tirpc +CPPFLAGS += $(TIRPC_CPPFLAGS) -I$(LIBSRCDIR) -pthread diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/include/rpc.h b/testcases/network/rpc/rpc-tirpc/tests_pack/include/rpc.h deleted file mode 100644 index b6db0d316..000000000 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/include/rpc.h +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz> - */ - -#ifndef RPC_H__ -#define RPC_H__ - -#include "config.h" - -#include <rpc/rpc.h> -#include <rpc/types.h> -#include <rpc/xdr.h> -#include <rpc/svc.h> - -/* - * For pmap_unset() and clnt_broadcast(). - * Needed for glibc, which does not include <rpc/pmap_clnt.h> in <rpc/rpc.h>. - */ -#include <rpc/pmap_clnt.h> - -#endif /* RPC_H__ */ diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile index 5a6f5d41c..3563d2dc5 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile @@ -20,6 +20,6 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -INTERNAL_LIB := librpc-tirpc.a +LIB := librpc-tirpc.a include $(top_srcdir)/include/mk/lib.mk diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_cleaner.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_cleaner.c index 9ce603672..e17430fb4 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_cleaner.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_cleaner.c @@ -18,7 +18,7 @@ */ #include <stdio.h> -#include "rpc.h" +#include <rpc/rpc.h> #define VERSNUM 1 /* Default version used in the test binaries */ diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/Makefile index 8ac0987af..c8ac0dd9f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/Makefile +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/Makefile @@ -1,13 +1,22 @@ -# Copyright (C) 2009, Cisco Systems Inc. -# Copyright (c) 2020 Petr Vorel <pvorel@suse.cz> +# +# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk - -ifeq ($(LIBTIRPC_LIBS),) -FILTER_OUT_DIRS += tirpc -endif - -include $(top_srcdir)/include/mk/env_pre.mk include $(top_srcdir)/include/mk/generic_trunk_target.mk diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/Makefile index 647759adf..45bc8a67a 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/Makefile +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/Makefile @@ -1,15 +1,22 @@ -# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. -# Copyright (c) 2020 Petr Vorel <pvorel@suse.cz> +# +# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# top_srcdir ?= ../../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk - -ifeq ($(LIBTIRPC_LIBS),) -# glibc does not define registerrpc() in <rpc/rpc.h> -# registerrpc() is deprecated in libtirpc, it should be replaced by rpc_reg() -FILTER_OUT_DIRS += rpc_regunreg_registerrpc -endif - -include $(top_srcdir)/include/mk/env_pre.mk include $(top_srcdir)/include/mk/generic_trunk_target.mk diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/rpc_pmap_getport.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/rpc_pmap_getport.c index fa51f899a..67f1e6e02 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/rpc_pmap_getport.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/rpc_pmap_getport.c @@ -29,8 +29,8 @@ #include <stdio.h> #include <rpc/rpc.h> #include <netinet/in.h> +#include <rpc/pmap_clnt.h> #include <netdb.h> -#include "rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall.c index 91f51701c..e98a76b09 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall.c @@ -27,9 +27,9 @@ #include <stdlib.h> #include <stdio.h> +#include <rpc/rpc.h> #include <errno.h> #include <netdb.h> -#include "rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_performance.c index be4c26754..80952618f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_performance.c @@ -28,9 +28,9 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> +#include <rpc/rpc.h> #include <errno.h> #include <netdb.h> -#include "rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_stress.c index fe3cf68ac..4d19b7f56 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_stress.c @@ -27,9 +27,9 @@ #include <stdlib.h> #include <stdio.h> +#include <rpc/rpc.h> #include <errno.h> #include <netdb.h> -#include "rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_set/rpc_pmap_set.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_set/rpc_pmap_set.c index 01e75e5ed..4601154d7 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_set/rpc_pmap_set.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_set/rpc_pmap_set.c @@ -27,7 +27,7 @@ #include <stdlib.h> #include <stdio.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_unset/rpc_pmap_unset.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_unset/rpc_pmap_unset.c index 535742ef3..1f71f67de 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_unset/rpc_pmap_unset.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_unset/rpc_pmap_unset.c @@ -27,7 +27,7 @@ #include <stdlib.h> #include <stdio.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast.c index 5f024f113..e4b9efe45 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_complex.c index c6e55cd81..348df868e 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_complex.c @@ -28,9 +28,10 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> +#include <rpc/rpc.h> #include <sys/socket.h> #include <netdb.h> -#include "rpc.h" +#include <rpc/pmap_clnt.h> //Standard define #define PROCNUM 1000 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_dataint.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_dataint.c index fdf1e31a2..17b960651 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_dataint.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_dataint.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define INTPROCNUM 1000 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_performance.c index 11ba64fab..d958149b6 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_performance.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_scalability.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_scalability.c index 57ea25349..89646aa9d 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_scalability.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_scalability.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_stress.c index d5d7d85d1..da85b86ea 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_stress.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_registerrpc/rpc_registerrpc.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_registerrpc/rpc_registerrpc.c index 3becf4600..3778f36bc 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_registerrpc/rpc_registerrpc.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_registerrpc/rpc_registerrpc.c @@ -28,10 +28,10 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> +#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> #include <utmp.h> -#include "rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_register/rpc_svc_register.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_register/rpc_svc_register.c index 4b1331b82..99129cf7d 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_register/rpc_svc_register.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_register/rpc_svc_register.c @@ -28,9 +28,9 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> +#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include "rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_unregister/rpc_svc_unregister.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_unregister/rpc_svc_unregister.c index 0e7145a6f..8f0b6de68 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_unregister/rpc_svc_unregister.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_unregister/rpc_svc_unregister.c @@ -28,9 +28,9 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> +#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include "rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_complex.c index f95934567..1f81d1dbf 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_complex.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define CALCPROC 10000 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs_svc.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs_svc.c index 68c84ac60..cdec0c081 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs_svc.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs_svc.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs.c index 4d52fe4d3..c4860a500 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply.c index 342476de9..e32582364 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include <rpc/rpc.h> //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr.c index 8211b010e..05faaf5be 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr_limits.c index 9bfed452e..b1a31d95f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getmaps/tirpc_rpcb_getmaps.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getmaps/tirpc_rpcb_getmaps.c index cf9494770..32220d1cb 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getmaps/tirpc_rpcb_getmaps.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getmaps/tirpc_rpcb_getmaps.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authnone_create/tirpc_authnone_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authnone_create/tirpc_authnone_create.c index 2b80c46fe..fe96218ab 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authnone_create/tirpc_authnone_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authnone_create/tirpc_authnone_create.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <netdb.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/tirpc_authsys_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/tirpc_authsys_create.c index 951856ee0..c7cbb4c57 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/tirpc_authsys_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/tirpc_authsys_create.c @@ -30,7 +30,7 @@ #include <time.h> #include <unistd.h> #include <netdb.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create_default/tirpc_authsys_create_default.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create_default/tirpc_authsys_create_default.c index 88de398fb..f4f98b8bf 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create_default/tirpc_authsys_create_default.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create_default/tirpc_authsys_create_default.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <netdb.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call.c index f62bdff36..47875c60b 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call.c @@ -31,7 +31,7 @@ #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" -#include "rpc.h" +#include "lapi/rpc.h" #define PROCNUM 1 #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_complex.c index f2e120af6..11af0296d 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_complex.c @@ -30,7 +30,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_dataint.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_dataint.c index 0311cd29d..514c34588 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_dataint.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_dataint.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_mt.c index 85eda63f5..7c41734f6 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_performance.c index 72268817f..8614eba01 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_performance.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_scalability.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_scalability.c index dc3c29b1b..05d25ab04 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_scalability.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_scalability.c @@ -31,7 +31,7 @@ #include <pthread.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_stress.c index 35feb51b7..b91cc6a4b 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_stress.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create.c index 6178e219c..51be072ea 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create.c @@ -31,7 +31,7 @@ #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" -#include "rpc.h" +#include "lapi/rpc.h" #define PROCNUM 1 #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create_limits.c index 9192ee70b..e47d2fc05 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create.c index ec41ae55d..63ed92e83 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create.c @@ -31,7 +31,7 @@ #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create_limits.c index 47a095155..75d80c166 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create.c index 5a61aa70e..91f9663c9 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create.c @@ -31,7 +31,7 @@ #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" -#include "rpc.h" +#include "lapi/rpc.h" #define PROCNUM 1 #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create_limits.c index 71a75bffd..8d9e1bc98 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create.c index cfe55be18..d7e9882e6 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create.c @@ -31,7 +31,7 @@ #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" -#include "rpc.h" +#include "lapi/rpc.h" #define PROCNUM 1 #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create_limits.c index 1ca25debf..ba84f987c 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_pcreateerror/tirpc_clnt_pcreateerror.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_pcreateerror/tirpc_clnt_pcreateerror.c index 029d158ff..01eee329a 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_pcreateerror/tirpc_clnt_pcreateerror.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_pcreateerror/tirpc_clnt_pcreateerror.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno.c index a1b16416a..836fffb52 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno_complex.c index d48932206..d63b60a85 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno_complex.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror.c index 445ecfd32..d18f56fbe 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror_complex.c index e363e00b9..ac5484e4b 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror_complex.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/tirpc_svcerr_noproc.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/tirpc_svcerr_noproc.c index fc00e9eca..02ac04067 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/tirpc_svcerr_noproc.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/tirpc_svcerr_noproc.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 667 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/tirpc_svcerr_noprog.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/tirpc_svcerr_noprog.c index 8f71f6bae..ef630b00f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/tirpc_svcerr_noprog.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/tirpc_svcerr_noprog.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/tirpc_svcerr_progvers.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/tirpc_svcerr_progvers.c index fcd67a465..cc057a1d5 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/tirpc_svcerr_progvers.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/tirpc_svcerr_progvers.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/tirpc_svcerr_systemerr.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/tirpc_svcerr_systemerr.c index 04cba96e4..6fde3607f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/tirpc_svcerr_systemerr.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/tirpc_svcerr_systemerr.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 10 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/tirpc_svcerr_weakauth.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/tirpc_svcerr_weakauth.c index f135d001f..1d21c3ac5 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/tirpc_svcerr_weakauth.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/tirpc_svcerr_weakauth.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 100 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call.c index 8cec8bf74..6436021f8 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_complex.c index 480a8c122..114682768 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_complex.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_dataint.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_dataint.c index 284bdc051..26644e25e 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_dataint.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_dataint.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_mt.c index 7404b9434..040f0809a 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_performance.c index ddac940a6..5aa0f9260 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_performance.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_scalability.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_scalability.c index fbc10edc7..ceedc1901 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_scalability.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_scalability.c @@ -31,7 +31,7 @@ #include <pthread.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_stress.c index 4855a31ba..2fcc64702 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_stress.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create.c index b6f70e43d..f068143b6 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create_limits.c index ead9a1983..ee3d4b58f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall.c index 512fad057..25638bd7f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_complex.c index e22ed098e..d0d1091b4 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_complex.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_dataint.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_dataint.c index 0bbf87740..ecb8d3ccd 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_dataint.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_dataint.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_mt.c index 7cf9f4725..8cbe5b992 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_performance.c index aa55bdb82..bc7ed1785 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_performance.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_scalability.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_scalability.c index 9fd403e13..405f9c283 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_scalability.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_scalability.c @@ -31,7 +31,7 @@ #include <pthread.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_stress.c index 0a6eb5591..5381db5a1 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_stress.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_set/tirpc_rpcb_set.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_set/tirpc_rpcb_set.c index 15dfa5074..de65165b3 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_set/tirpc_rpcb_set.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_set/tirpc_rpcb_set.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" #define PROCNUM 1 #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_unset/tirpc_rpcb_unset.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_unset/tirpc_rpcb_unset.c index f0816c816..ab4ddd5ba 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_unset/tirpc_rpcb_unset.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_unset/tirpc_rpcb_unset.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" #define PROCNUM 1 #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg.c index 721085cea..7ba2ac18a 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt.c index b9d058517..8473c0414 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_stress.c index b2a4b4a10..862387e6f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_stress.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create.c index a3ee981cd..342071704 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create_limits.c index dbe152e9f..d20ffbb28 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg.c index 5ec21f672..721e41406 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_mt.c index 6aad7fb2e..00bcc881e 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_stress.c index 2c6c14069..6871c87c2 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_stress.c @@ -29,7 +29,7 @@ #include <stdio.h> #include <netinet/in.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call.c index ecd1f0d4a..5bb86ed50 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_complex.c index 62ebd8a98..3464ff23d 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_complex.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_dataint.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_dataint.c index 8adca4547..b9ed6dafa 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_dataint.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_dataint.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_mt.c index 06fcd4abf..8e8bbc2e6 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_performance.c index 924d177f0..27a4509f7 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_performance.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_scalability.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_scalability.c index f21e2866f..c40be764c 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_scalability.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_scalability.c @@ -31,7 +31,7 @@ #include <pthread.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_stress.c index 7aa055342..2a12df325 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_stress.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control.c index 0dd7d26ec..f6b4bd418 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control_limits.c index 1b2c4b273..6b34aa7ab 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create/tirpc_clnt_tp_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create/tirpc_clnt_tp_create.c index 7c7e5adab..b98f99304 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create/tirpc_clnt_tp_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create/tirpc_clnt_tp_create.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed.c index ccdfa21fb..a3103bada 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed_limits.c index 68211b607..f626d02ee 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_svc_tp_create/tirpc_svc_tp_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_svc_tp_create/tirpc_svc_tp_create.c index 91a34a0bd..8a00a3104 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_svc_tp_create/tirpc_svc_tp_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_svc_tp_create/tirpc_svc_tp_create.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <sys/socket.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast.c index e31a93535..767860993 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_complex.c index 9bf1ff993..fb19a0af2 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_complex.c @@ -30,7 +30,7 @@ #include <time.h> #include <sys/socket.h> #include <netdb.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PINGPROC 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_dataint.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_dataint.c index 1a9e4914c..30ffd931a 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_dataint.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_dataint.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_mt.c index cc39c8572..1e773a1b5 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_performance.c index 69e8f8bd6..3e06d58f4 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_performance.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_scalability.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_scalability.c index 3a3ee94d7..372f7420b 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_scalability.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_scalability.c @@ -31,7 +31,7 @@ #include <pthread.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_stress.c index 5e0d12e57..7edde968c 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_stress.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp.c index f633e277c..a4da3a53a 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_complex.c index 45ccdf1d8..10e24af3f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_complex.c @@ -30,7 +30,7 @@ #include <time.h> #include <sys/socket.h> #include <netdb.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PINGPROC 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_dataint.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_dataint.c index 02876d02f..b358af532 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_dataint.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_dataint.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_limits.c index 2e3334240..e077bb6ae 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_mt.c index 849b7d493..65189fad3 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_performance.c index e09166080..2a6925bb3 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_performance.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_scalability.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_scalability.c index 4817a05db..dea6d82cc 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_scalability.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_scalability.c @@ -31,7 +31,7 @@ #include <pthread.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_stress.c index 38b1df9c3..8338310dd 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_stress.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c index 783cc65ac..1dc533d0c 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c @@ -30,7 +30,7 @@ #include <string.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_complex.c index 0f0f3d869..5a44bf42f 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_complex.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_dataint.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_dataint.c index b61ea1306..6ff385175 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_dataint.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_dataint.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_mt.c index c5a7554c5..06ffdd2f4 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance.c index 45a2dae49..1a609751a 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <sys/time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_scalability.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_scalability.c index 707446122..4641da752 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_scalability.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_scalability.c @@ -31,7 +31,7 @@ #include <pthread.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress.c index d5c1f0204..264e24c45 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress.c @@ -30,7 +30,7 @@ #include <string.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg.c index 54c3cc887..248dbdb17 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt.c index b3b68a7b7..b1eb8433d 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_stress.c index dab536f93..4d54b0974 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_stress.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call.c index 27718b627..7143e3133 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_complex.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_complex.c index a9fa73fe9..2f965e534 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_complex.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_complex.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_dataint.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_dataint.c index 52092a61a..e94f2037d 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_dataint.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_dataint.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_mt.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_mt.c index 7d2f3b945..2ffaa8219 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_mt.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_mt.c @@ -31,7 +31,7 @@ #include <time.h> #include <pthread.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_performance.c index 4d1264edc..264d65bc0 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_performance.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_performance.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_scalability.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_scalability.c index 4d2ef26b6..12664fca8 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_scalability.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_scalability.c @@ -31,7 +31,7 @@ #include <pthread.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_stress.c index 2ecff3ede..25f626ce3 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_stress.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_stress.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create/tirpc_clnt_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create/tirpc_clnt_create.c index eaca14747..d6584ac09 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create/tirpc_clnt_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create/tirpc_clnt_create.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed.c index 43df4d95f..c671649fb 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed_limits.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed_limits.c index 3b7475c1b..238267be3 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed_limits.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed_limits.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_destroy/tirpc_clnt_destroy.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_destroy/tirpc_clnt_destroy.c index 939ff3e4a..becd6a46c 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_destroy/tirpc_clnt_destroy.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_destroy/tirpc_clnt_destroy.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_create/tirpc_svc_create.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_create/tirpc_svc_create.c index 448a1b1d0..519aa4ef4 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_create/tirpc_svc_create.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_create/tirpc_svc_create.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_destroy/tirpc_svc_destroy.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_destroy/tirpc_svc_destroy.c index 49cff80ad..102660b5d 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_destroy/tirpc_svc_destroy.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_destroy/tirpc_svc_destroy.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/rpc_svc_1.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/rpc_svc_1.c index d1c4df97f..275774923 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/rpc_svc_1.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/rpc_svc_1.c @@ -27,8 +27,8 @@ #include <stdio.h> #include <string.h> +#include <rpc/rpc.h> #include <utmp.h> -#include "rpc.h" //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2.c index 66a8444b2..a2d18cc43 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2.c @@ -27,8 +27,8 @@ #include <stdio.h> #include <string.h> +#include <rpc/rpc.h> #include <utmp.h> -#include "rpc.h" //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_cleaner.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_cleaner.c index 6303528c3..a938aec22 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_cleaner.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_cleaner.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <sys/socket.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_1/tirpc_svc_1.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_1/tirpc_svc_1.c index 1acf927c4..231f671a5 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_1/tirpc_svc_1.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_1/tirpc_svc_1.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <sys/socket.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11.c index 73715d65d..121ae97e8 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11.c @@ -30,7 +30,7 @@ #include <sys/socket.h> #include <errno.h> #include <netinet/in.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_2/tirpc_svc_2.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_2/tirpc_svc_2.c index ba36bf26e..7a4667ef6 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_2/tirpc_svc_2.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_2/tirpc_svc_2.c @@ -28,7 +28,7 @@ #include <stdio.h> #include <sys/socket.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c index ea762f728..c28f412fc 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c @@ -29,7 +29,7 @@ #include <string.h> #include <sys/socket.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c index 315182b7d..566b6fcf6 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c @@ -29,7 +29,7 @@ #include <string.h> #include <sys/socket.h> #include <errno.h> -#include "rpc.h" +#include "lapi/rpc.h" //Standard define #define VERSNUM 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c index 53f48a741..ebf577717 100644 --- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c @@ -33,7 +33,7 @@ #include <netinet/in.h> #include <unistd.h> #include "librpc-tirpc.h" -#include "rpc.h" +#include "lapi/rpc.h" #define VERSNUM 1 #define PROCSIMPLEPING 1 diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/Makefile new file mode 100644 index 000000000..b5d08aa8b --- /dev/null +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/Makefile @@ -0,0 +1,23 @@ +# +# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# + +top_srcdir ?= ../../../../../.. + +include $(top_srcdir)/include/mk/env_pre.mk +include $(abs_srcdir)/../Makefile.inc +include $(top_srcdir)/include/mk/generic_leaf_target.mk diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/tirpc_svc_6.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/tirpc_svc_6.c new file mode 100644 index 000000000..1dd421e1c --- /dev/null +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/tirpc_svc_6.c @@ -0,0 +1,181 @@ +/* +* Copyright (c) Bull S.A. 2007 All Rights Reserved. +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of version 2 of the GNU General Public License as +* published by the Free Software Foundation. +* +* This program is distributed in the hope that it would be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* Further, this software is distributed without any warranty that it is +* free of the rightful claim of any third person regarding infringement +* or the like. Any license provided herein, whether implied or +* otherwise, applies only to this software file. Patent licenses, if +* any, provided herein do not apply to combinations of this program with +* other software, or any other product whatsoever. +* +* You should have received a copy of the GNU General Public License along +* with this program; if not, write the Free Software Foundation, Inc., +* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* +* History: +* Created by: Cyril Lacabanne (Cyril.Lacabanne@bull.net) +* +*/ + +#include <stdio.h> +#include <string.h> +#include <sys/socket.h> +#include <errno.h> +#include <pthread.h> +#include <netinet/in.h> +#include "lapi/rpc.h" + +//Standard define +#define VERSNUM 1 +#define PROCSIMPLEPING 1 +#define PROGSYSERROR 10 +#define PROGAUTHERROR 100 + +static void exm_proc(); +int progNum; +int run_mode; + +void *server_thread_process(void *arg) +{ + //Server process in a thread + int err = 0; + + if (run_mode == 1) { + printf("Server #%d launched\n", atoi(arg)); + printf("Server Nb : %d\n", progNum + atoi(arg)); + } + + svc_unreg(progNum + (long)arg, VERSNUM); + + err = svc_create(exm_proc, progNum + atoi(arg), VERSNUM, "VISIBLE"); + + if (err == 0) { + fprintf(stderr, "Cannot create service.\n"); + exit(1); + } + + svc_run(); + + fprintf(stderr, "svc_run() returned. ERROR has occurred.\n"); + svc_unreg(progNum, VERSNUM); + + pthread_exit(0); +} + +//****************************************// +//*** Main Function ***// +//****************************************// +int main(int argn, char *argc[]) +{ + //Server parameter is : argc[1] : Server Program Number + // argc[2] : Number of threads + // others arguments depend on server program + run_mode = 0; + int threadNb = atoi(argc[2]); + long i; + //Thread declaration + pthread_t *pThreadArray; + void *ret; + + progNum = atoi(argc[1]); + + pThreadArray = malloc(threadNb * sizeof(pthread_t)); + for (i = 0; i < threadNb; i++) { + if (run_mode == 1) + fprintf(stderr, "Try to create Thread Server %ld\n", i); + if (pthread_create + (&pThreadArray[i], NULL, server_thread_process, (void*)i) < 0) { + fprintf(stderr, "pthread_create error for thread 1\n"); + exit(1); + } + } + + //Clean threads + for (i = 0; i < threadNb; i++) { + (void)pthread_join(pThreadArray[i], &ret); + } + + return 1; +} + +//****************************************// +//*** Remotes Procedures ***// +//****************************************// +char *simplePing(char *in) +{ + //printf("*** in Ping Func.\n"); + //Simple function, returns what received + static int result = 0; + result = *in; + return (char *)&result; + +} + +//****************************************// +//*** Dispatch Function ***// +//****************************************// +static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) +{ + //printf("* in Dispatch Func.\n"); + union { + int varIn; + } argument; + + char *result; + xdrproc_t xdr_argument; + xdrproc_t xdr_result; + int *(*proc) (int *); + + switch (rqstp->rq_proc) { + case PROCSIMPLEPING: + { + //printf("** in PROCPONG dispatch Func.\n"); + xdr_argument = (xdrproc_t) xdr_int; + xdr_result = (xdrproc_t) xdr_int; + proc = (int *(*)(int *))simplePing; + break; + } + case PROGSYSERROR: + { + //Simulate an error + svcerr_systemerr(transp); + return; + } + case PROGAUTHERROR: + { + //Simulate an authentification error + svcerr_weakauth(transp); + return; + } + default: + { + //Proc is unavaible + svcerr_noproc(transp); + return; + } + } + memset((int *)&argument, (int)0, sizeof(argument)); + if (svc_getargs(transp, xdr_argument, (int *)&argument) == FALSE) { + svcerr_decode(transp); + return; + } + + result = (char *)(*proc) ((int *)&argument); + + if ((result != NULL) + && (svc_sendreply(transp, xdr_result, result) == FALSE)) { + svcerr_systemerr(transp); + } + if (svc_freeargs(transp, xdr_argument, (int *)&argument) == FALSE) { + (void)fprintf(stderr, "unable to free arguments\n"); + exit(1); + } +} diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/Makefile new file mode 100644 index 000000000..b5d08aa8b --- /dev/null +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/Makefile @@ -0,0 +1,23 @@ +# +# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# + +top_srcdir ?= ../../../../../.. + +include $(top_srcdir)/include/mk/env_pre.mk +include $(abs_srcdir)/../Makefile.inc +include $(top_srcdir)/include/mk/generic_leaf_target.mk diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/tirpc_svc_7.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/tirpc_svc_7.c new file mode 100644 index 000000000..559ef7f97 --- /dev/null +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/tirpc_svc_7.c @@ -0,0 +1,212 @@ +/* +* Copyright (c) Bull S.A. 2007 All Rights Reserved. +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of version 2 of the GNU General Public License as +* published by the Free Software Foundation. +* +* This program is distributed in the hope that it would be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* Further, this software is distributed without any warranty that it is +* free of the rightful claim of any third person regarding infringement +* or the like. Any license provided herein, whether implied or +* otherwise, applies only to this software file. Patent licenses, if +* any, provided herein do not apply to combinations of this program with +* other software, or any other product whatsoever. +* +* You should have received a copy of the GNU General Public License along +* with this program; if not, write the Free Software Foundation, Inc., +* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* +* History: +* Created by: Cyril Lacabanne (Cyril.Lacabanne@bull.net) +* +*/ + +#include <stdio.h> +#include <string.h> +#include <sys/socket.h> +#include <errno.h> +#include <netinet/in.h> +#include "lapi/rpc.h" + +//Standard define +#define VERSNUM 1 +//Define limits test proc +#define PROCSIMPLEPING 1 +//Define DataInt procs +#define INTPROCNUM 10 +#define DBLPROCNUM 20 +#define LNGPROCNUM 30 +#define STRPROCNUM 40 + +static void exm_proc(); + +union u_argument { + int varInt; + double dbl; + long lng; + char *str; +} argument; + +//****************************************// +//*** Main Function ***// +//****************************************// +int main(int argn, char *argc[]) +{ + int progNum = atoi(argc[1]); + SVCXPRT *transp = NULL; + struct netconfig *nconf; + + //Initialization + svc_unreg(progNum, VERSNUM); + + if ((nconf = getnetconfigent("udp")) == NULL) { + fprintf(stderr, "Cannot get netconfig entry for UDP\n"); + exit(1); + } + + transp = svc_tp_create(exm_proc, progNum, VERSNUM, nconf); + + if (transp == NULL) { + fprintf(stderr, "Cannot create service.\n"); + exit(1); + } + + if (!svc_reg(transp, progNum, VERSNUM, exm_proc, nconf)) { + fprintf(stderr, "svc_reg failed!!\n"); + exit(1); + } + + svc_run(); + + fprintf(stderr, "svc_run() returned. ERROR has occurred.\n"); + svc_unreg(progNum, VERSNUM); + + return 1; +} + +//****************************************// +//*** Remotes Procedures ***// +//****************************************// +char *simplePing(union u_argument *in) +{ + //printf("*** in Ping Func.\n"); + //Simple function, returns what received + static int result; + result = in->varInt; + return (char *)&result; +} + +char *intTestProc(union u_argument *in) +{ + //printf("*** in intTestProc.\n"); + //returns what received + static int result; + result = in->varInt; + //printf("%d\n", result); + return (char *)&result; +} + +char *lngTestProc(union u_argument *in) +{ + //printf("*** in lngTestProc.\n"); + //returns what received + static long result; + result = in->lng; + //printf("%ld\n", result); + return (char *)&result; +} + +char *dblTestProc(union u_argument *in) +{ + //printf("*** in dblTestProc.\n"); + //returns what received + static double result; + result = in->dbl; + //printf("%lf\n", result); + return (char *)&result; +} + +char *strTestProc(union u_argument *in) +{ + //printf("*** in strTestProc.\n"); + //returns what received + static char *result; + result = in->str; + //printf("%s\n", result); + return (char *)&result; +} + +//****************************************// +//*** Dispatch Function ***// +//****************************************// +static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) +{ + char *result; + xdrproc_t xdr_argument; + xdrproc_t xdr_result; + char *(*proc) (union u_argument *); + + switch (rqstp->rq_proc) { + case PROCSIMPLEPING: + { + xdr_argument = (xdrproc_t) xdr_int; + xdr_result = (xdrproc_t) xdr_int; + proc = (char *(*)(union u_argument *))simplePing; + break; + } + case INTPROCNUM: + { + xdr_argument = (xdrproc_t) xdr_int; + xdr_result = (xdrproc_t) xdr_int; + proc = (char *(*)(union u_argument *))intTestProc; + break; + } + case DBLPROCNUM: + { + xdr_argument = (xdrproc_t) xdr_double; + xdr_result = (xdrproc_t) xdr_double; + proc = (char *(*)(union u_argument *))dblTestProc; + break; + } + case LNGPROCNUM: + { + xdr_argument = (xdrproc_t) xdr_long; + xdr_result = (xdrproc_t) xdr_long; + proc = (char *(*)(union u_argument *))lngTestProc; + break; + } + case STRPROCNUM: + { + xdr_argument = (xdrproc_t) xdr_wrapstring; + xdr_result = (xdrproc_t) xdr_wrapstring; + proc = (char *(*)(union u_argument *))strTestProc; + break; + } + default: + { + //Proc is unavaible + svcerr_noproc(transp); + return; + } + } + memset((char *)&argument, (int)0, sizeof(argument)); + if (svc_getargs(transp, xdr_argument, (char *)&argument) == FALSE) { + svcerr_decode(transp); + return; + } + + result = (char *)(*proc) ((union u_argument *)&argument); + + if ((result != NULL) + && (svc_sendreply(transp, xdr_result, (char *)result) == FALSE)) { + svcerr_systemerr(transp); + } + if (svc_freeargs(transp, xdr_argument, (char *)&argument) == FALSE) { + (void)fprintf(stderr, "unable to free arguments\n"); + exit(1); + } +} diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/Makefile new file mode 100644 index 000000000..b5d08aa8b --- /dev/null +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/Makefile @@ -0,0 +1,23 @@ +# +# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# + +top_srcdir ?= ../../../../../.. + +include $(top_srcdir)/include/mk/env_pre.mk +include $(abs_srcdir)/../Makefile.inc +include $(top_srcdir)/include/mk/generic_leaf_target.mk diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/tirpc_svc_8.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/tirpc_svc_8.c new file mode 100644 index 000000000..fd516e4dd --- /dev/null +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/tirpc_svc_8.c @@ -0,0 +1,183 @@ +/* +* Copyright (c) Bull S.A. 2007 All Rights Reserved. +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of version 2 of the GNU General Public License as +* published by the Free Software Foundation. +* +* This program is distributed in the hope that it would be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* Further, this software is distributed without any warranty that it is +* free of the rightful claim of any third person regarding infringement +* or the like. Any license provided herein, whether implied or +* otherwise, applies only to this software file. Patent licenses, if +* any, provided herein do not apply to combinations of this program with +* other software, or any other product whatsoever. +* +* You should have received a copy of the GNU General Public License along +* with this program; if not, write the Free Software Foundation, Inc., +* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* +* History: +* Created by: Cyril Lacabanne (Cyril.Lacabanne@bull.net) +* +*/ + +#include <stdio.h> +#include <string.h> +#include <pthread.h> +#include <sys/socket.h> +#include <errno.h> +#include <netinet/in.h> +#include "lapi/rpc.h" + +//Standard define +#define VERSNUM 1 +#define PINGPROC 1 +#define PROGSYSERROR 10 +#define PROGAUTHERROR 100 + +static void exm_proc(); +int progNum; +int run_mode; + +void *server_thread_process(void *arg) +{ + //Server process in a thread + int err = 0; + int i = (long)arg; + + if (run_mode == 1) { + printf("Server #%d launched\n", i); + printf("Server Nb : %d\n", progNum + i); + } + + svc_unreg(progNum + atoi(arg), VERSNUM); + + err = svc_create(exm_proc, progNum + atoi(arg), VERSNUM, "VISIBLE"); + + if (err == 0) { + fprintf(stderr, "Cannot create service.\n"); + exit(1); + } + + svc_run(); + + fprintf(stderr, "svc_run() returned. ERROR has occurred.\n"); + svc_unreg(progNum, VERSNUM); + + pthread_exit(0); +} + +//****************************************// +//*** Main Function ***// +//****************************************// +int main(int argn, char *argc[]) +{ + //Server parameter is : argc[1] : Server Program Number + // argc[2] : Number of threads + // others arguments depend on server program + run_mode = 0; + int threadNb = atoi(argc[2]); + long i; + //Thread declaration + pthread_t *pThreadArray; + void *ret; + + progNum = atoi(argc[1]); + + pThreadArray = malloc(threadNb * sizeof(pthread_t)); + for (i = 0; i < threadNb; i++) { + if (run_mode == 1) + fprintf(stderr, "Try to create Thread Server %ld\n", i); + if (pthread_create + (&pThreadArray[i], NULL, server_thread_process, (void*)i) < 0) { + fprintf(stderr, "pthread_create error for thread 1\n"); + exit(1); + } + } + + //Clean threads + for (i = 0; i < threadNb; i++) { + (void)pthread_join(pThreadArray[i], &ret); + } + + return 1; +} + +//****************************************// +//*** Remotes Procedures ***// +//****************************************// +char *pingProc(int *dt) +{ + //Makes a + b * c from structure dt and returns double + //printf("*** In calcProc ***\n"); + static int result = 0; + result = *dt; + //printf("Received : %lf, %lf, %lf\n", dt->a, dt->b, dt->c); + return (char *)&result; +} + +//****************************************// +//*** Dispatch Function ***// +//****************************************// +static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) +{ + //printf("* in Dispatch Func.\n"); + + char *result; + xdrproc_t xdr_argument; + xdrproc_t xdr_result; + int *(*proc) (int *); + + union { + int varIn; + } argument; + + switch (rqstp->rq_proc) { + case PINGPROC: + { + //printf("** in PROCPONG dispatch Func.\n"); + xdr_argument = (xdrproc_t) xdr_int; + xdr_result = (xdrproc_t) xdr_int; + proc = (int *(*)(int *))pingProc; + break; + } + case PROGSYSERROR: + { + //Simulate an error + svcerr_systemerr(transp); + return; + } + case PROGAUTHERROR: + { + //Simulate an authentification error + svcerr_weakauth(transp); + return; + } + default: + { + //Proc is unavaible + svcerr_noproc(transp); + return; + } + } + memset((int *)&argument, (int)0, sizeof(argument)); + if (svc_getargs(transp, xdr_argument, (char *)&argument) == FALSE) { + svcerr_decode(transp); + return; + } + + result = (char *)(*proc) ((int *)&argument); + + if ((result != NULL) + && (svc_sendreply(transp, xdr_result, result) == FALSE)) { + svcerr_systemerr(transp); + } + if (svc_freeargs(transp, xdr_argument, (char *)&argument) == FALSE) { + (void)fprintf(stderr, "unable to free arguments\n"); + exit(1); + } +} diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/Makefile new file mode 100644 index 000000000..b5d08aa8b --- /dev/null +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/Makefile @@ -0,0 +1,23 @@ +# +# Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# + +top_srcdir ?= ../../../../../.. + +include $(top_srcdir)/include/mk/env_pre.mk +include $(abs_srcdir)/../Makefile.inc +include $(top_srcdir)/include/mk/generic_leaf_target.mk diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/tirpc_svc_9.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/tirpc_svc_9.c new file mode 100644 index 000000000..2fd9b4fc9 --- /dev/null +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/tirpc_svc_9.c @@ -0,0 +1,192 @@ +/* +* Copyright (c) Bull S.A. 2007 All Rights Reserved. +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of version 2 of the GNU General Public License as +* published by the Free Software Foundation. +* +* This program is distributed in the hope that it would be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* Further, this software is distributed without any warranty that it is +* free of the rightful claim of any third person regarding infringement +* or the like. Any license provided herein, whether implied or +* otherwise, applies only to this software file. Patent licenses, if +* any, provided herein do not apply to combinations of this program with +* other software, or any other product whatsoever. +* +* You should have received a copy of the GNU General Public License along +* with this program; if not, write the Free Software Foundation, Inc., +* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +* +* History: +* Created by: Cyril Lacabanne (Cyril.Lacabanne@bull.net) +* +*/ + +#include <stdio.h> +#include <string.h> +#include <pthread.h> +#include <sys/socket.h> +#include <errno.h> +#include <netinet/in.h> +#include "lapi/rpc.h" + +//Standard define +#define VERSNUM 1 +#define PROGSYSERROR 10 +#define PROGAUTHERROR 100 +#define CALCTHREADPROC 1000 + +static void exm_proc(); +int progNum; +int run_mode; + +struct datas { + double a; + double b; + double c; +} argument; + +//XDR Struct function +bool_t xdr_datas(XDR * pt_xdr, struct datas *pt) +{ + return (xdr_double(pt_xdr, &(pt->a)) && + xdr_double(pt_xdr, &(pt->b)) && xdr_double(pt_xdr, &(pt->c))); +} + +void *server_thread_process(void *arg) +{ + //Server process in a thread + int err = 0; + int i = (long)arg; + + if (run_mode == 1) { + printf("Server #%d launched\n", i); + printf("Server Nb : %d\n", progNum + i); + } + + svc_unreg(progNum + atoi(arg), VERSNUM); + + err = svc_create(exm_proc, progNum + atoi(arg), VERSNUM, "VISIBLE"); + + if (err == 0) { + fprintf(stderr, "Cannot create service.\n"); + exit(1); + } + + svc_run(); + + fprintf(stderr, "svc_run() returned. ERROR has occurred.\n"); + svc_unreg(progNum, VERSNUM); + + pthread_exit(0); +} + +//****************************************// +//*** Main Function ***// +//****************************************// +int main(int argn, char *argc[]) +{ + //Server parameter is : argc[1] : Server Program Number + // argc[2] : Number of threads + // others arguments depend on server program + run_mode = 0; + int threadNb = atoi(argc[2]); + long i; + //Thread declaration + pthread_t *pThreadArray; + void *ret; + + progNum = atoi(argc[1]); + + pThreadArray = malloc(threadNb * sizeof(pthread_t)); + for (i = 0; i < threadNb; i++) { + if (run_mode == 1) + fprintf(stderr, "Try to create Thread Server %ld\n", i); + if (pthread_create + (&pThreadArray[i], NULL, server_thread_process, (void*)i) < 0) { + fprintf(stderr, "pthread_create error for thread 1\n"); + exit(1); + } + } + + //Clean threads + for (i = 0; i < threadNb; i++) { + (void)pthread_join(pThreadArray[i], &ret); + } + + return 1; +} + +//****************************************// +//*** Remotes Procedures ***// +//****************************************// +char *calcProc(struct datas *dt) +{ + //Makes a + b * c from structure dt and returns double + //printf("*** In calcProc ***\n"); + static double result = 0; + result = dt->a + (dt->b * dt->c); + //printf("Received : %lf, %lf, %lf\n", dt->a, dt->b, dt->c); + return (char *)&result; +} + +//****************************************// +//*** Dispatch Function ***// +//****************************************// +static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) +{ + //printf("* in Dispatch Func.\n"); + + char *result; + xdrproc_t xdr_argument; + xdrproc_t xdr_result; + int *(*proc) (struct datas *); + + switch (rqstp->rq_proc) { + case CALCTHREADPROC: + { + //printf("** in PROCPONG dispatch Func.\n"); + xdr_argument = (xdrproc_t) xdr_datas; + xdr_result = (xdrproc_t) xdr_double; + proc = (int *(*)(struct datas *))calcProc; + break; + } + case PROGSYSERROR: + { + //Simulate an error + svcerr_systemerr(transp); + return; + } + case PROGAUTHERROR: + { + //Simulate an authentification error + svcerr_weakauth(transp); + return; + } + default: + { + //Proc is unavaible + svcerr_noproc(transp); + return; + } + } + memset((int *)&argument, (int)0, sizeof(argument)); + if (svc_getargs(transp, xdr_argument, (char *)&argument) == FALSE) { + svcerr_decode(transp); + return; + } + + result = (char *)(*proc) ((struct datas *)&argument); + + if ((result != NULL) + && (svc_sendreply(transp, xdr_result, result) == FALSE)) { + svcerr_systemerr(transp); + } + if (svc_freeargs(transp, xdr_argument, (char *)&argument) == FALSE) { + (void)fprintf(stderr, "unable to free arguments\n"); + exit(1); + } +} |