musl: travis build and include fixes
cover musl: travis build and include fixes
Hi,
although LTP not yet fully support musl, I'd like to add travis build via Alpine linux distro. Remaining broken tests are deleted before building, I volunteer to solve musl problems for new code.
I also added 2 simple RPC fixes.
RPC tests deserve some rewrite, but I'd postpone it.
https://github.com/linux-test-project/ltp/issues/621
Kind regards,
Petr
Petr Vorel (3):
travis: Add musl build (with Alpine Linux)
rpc: Add missing <string.h>
rpc: Remove <sys/socketvar.h>
.travis.yml | 7 +++ .../rpc/basic_tests/rpc01/rpc_server.c | 1 + .../rpc_clnt_broadcast_dataint.c | 1 + .../rpc_svcraw_create.c | 1 - .../rpc_svctcp_create.c | 1 - .../rpc_svctcp_create_stress.c | 1 - .../rpc_svcudp_bufcreate.c | 1 - .../rpc_svcudp_create.c | 1 - .../rpc_svcudp_create_stress.c | 1 - .../rpc_registerrpc.c | 1 - .../rpc_svc_register.c | 1 - .../rpc_svc_unregister.c | 1 - .../rpc_xprt_register.c | 1 - .../rpc_xprt_unregister.c | 1 - .../rpc_stdcall_callrpc/rpc_callrpc_dataint.c | 1 + .../rpc_clnt_call_dataint.c | 1 + .../rpc_svc_freeargs_svc.c | 1 + .../rpc_stdcall_svc_getargs/rpc_svc_getargs.c | 1 + .../rpc_svc_sendreply.c | 1 + .../tirpc_bottomlevel_clnt_call_dataint.c | 1 + .../tirpc_bottomlevel_clnt_call_mt.c | 1 + .../tirpc_bottomlevel_clnt_call_scalability.c | 1 + .../tirpc_expertlevel_clnt_call_complex.c | 1 + .../tirpc_expertlevel_clnt_call_dataint.c | 1 + .../tirpc_expertlevel_clnt_call_mt.c | 1 + .../tirpc_expertlevel_clnt_call_scalability.c | 1 + .../tirpc_rpcb_rmtcall_complex.c | 1 + .../tirpc_rpcb_rmtcall_dataint.c | 1 + .../tirpc_rpcb_rmtcall_mt.c | 1 + .../tirpc_rpcb_rmtcall_scalability.c | 1 + .../tirpc_svc_reg_mt.c | 1 + .../tirpc_svc_unreg_mt.c | 1 + .../tirpc_interlevel_clnt_call_complex.c | 1 + .../tirpc_interlevel_clnt_call_dataint.c | 1 + .../tirpc_interlevel_clnt_call_mt.c | 1 + .../tirpc_interlevel_clnt_call_scalability.c | 1 + .../tirpc_rpc_broadcast_dataint.c | 1 + .../tirpc_rpc_broadcast_mt.c | 1 + .../tirpc_rpc_broadcast_scalability.c | 1 + .../tirpc_rpc_broadcast_exp_dataint.c | 1 + .../tirpc_rpc_broadcast_exp_mt.c | 1 + .../tirpc_rpc_broadcast_exp_scalability.c | 1 + .../tirpc_rpc_call_complex.c | 1 + .../tirpc_rpc_call_dataint.c | 1 + .../tirpc_simple_rpc_call/tirpc_rpc_call_mt.c | 1 + .../tirpc_rpc_call_scalability.c | 1 + .../tirpc_simple_rpc_reg/tirpc_rpc_reg_mt.c | 1 + .../tirpc_toplevel_clnt_call_complex.c | 1 + .../tirpc_toplevel_clnt_call_dataint.c | 1 + .../tirpc_toplevel_clnt_call_mt.c | 1 + .../tirpc_toplevel_clnt_call_scalability.c | 1 + .../tests_pack/rpc_svc_1/rpc_svc_1.c | 1 + travis/alpine.sh | 51 +++++++++++++++++++ 53 files changed, 98 insertions(+), 11 deletions(-) create mode 100755 travis/alpine.sh
Signature · 1 line
2.24.0
PATCH 1/3 travis: Add musl build (with Alpine Linux)
it was needed to temporarily remove test broken on musl to fix compilation.
--- .travis.yml | 7 +++++++ travis/alpine.sh | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100755 travis/alpine.sh
.travis.yml +7 -0
@@ -19,6 +19,13 @@ matrix: env: DISTRO=debian:stable VARIANT=cross-compile.aarch64 TREE="out" compiler: aarch64-linux-gnu-gcc + # musl (native) + - os: linux + # Message: WARNING: xsltproc: cannot process http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl + # doc/meson.build:70:1: ERROR: Problem encountered: Docs cannot be built: xsltproc does not work correctly + env: DISTRO=alpine:latest + compiler: gcc + # build with minimal dependencies - os: linux env: DISTRO=debian:stable VARIANT=minimal TREE="out"
travis/alpine.sh new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.24.0
PATCH 2/3 rpc: Add missing <string.h>
In reply to Petr VorelFixes implicit declaration of function error for memcpy(), memset() and strcmp() (build with -Werror=implicit-function-declaration)
--- testcases/network/rpc/basic_tests/rpc01/rpc_server.c | 1 + .../rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_dataint.c | 1 + .../rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_dataint.c | 1 + .../rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_dataint.c | 1 + .../rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs_svc.c | 1 + .../rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs.c | 1 + .../rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply.c | 1 + .../tirpc_bottomlevel_clnt_call_dataint.c | 1 + .../tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_mt.c | 1 + .../tirpc_bottomlevel_clnt_call_scalability.c | 1 + .../tirpc_expertlevel_clnt_call_complex.c | 1 + .../tirpc_expertlevel_clnt_call_dataint.c | 1 + .../tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_mt.c | 1 + .../tirpc_expertlevel_clnt_call_scalability.c | 1 + .../tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_complex.c | 1 + .../tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_dataint.c | 1 + .../tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_mt.c | 1 + .../tirpc_rpcb_rmtcall_scalability.c | 1 + .../rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt.c | 1 + .../tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_mt.c | 1 + .../tirpc_interlevel_clnt_call_complex.c | 1 + .../tirpc_interlevel_clnt_call_dataint.c | 1 + .../tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_mt.c | 1 + .../tirpc_interlevel_clnt_call_scalability.c | 1 + .../tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_dataint.c | 1 + .../tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_mt.c | 1 + .../tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_scalability.c | 1 + .../tirpc_rpc_broadcast_exp_dataint.c | 1 + .../tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_mt.c | 1 + .../tirpc_rpc_broadcast_exp_scalability.c | 1 + .../tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_complex.c | 1 + .../tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_dataint.c | 1 + .../rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_mt.c | 1 + .../tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_scalability.c | 1 + .../rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt.c | 1 + .../tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_complex.c | 1 + .../tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_dataint.c | 1 + .../tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_mt.c | 1 + .../tirpc_toplevel_clnt_call_scalability.c | 1 + testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/rpc_svc_1.c | 1 + 40 files changed, 40 insertions(+)
testcases/network/rpc/basic_tests/rpc01/rpc_server.c +1 -0
@@ -4,6 +4,7 @@#include <errno.h> #include <fcntl.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <rpc/rpc.h> #include "librpc01.h"
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <rpc/rpc.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <rpc/rpc.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <rpc/rpc.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs_svc.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <rpc/rpc.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <rpc/rpc.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <rpc/rpc.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "lapi/rpc.h"
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_scalability.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <pthread.h> #include <time.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_complex.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "lapi/rpc.h"
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_scalability.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <pthread.h> #include <time.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_complex.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "lapi/rpc.h"
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_scalability.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <pthread.h> #include <time.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_complex.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "lapi/rpc.h"
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_scalability.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <pthread.h> #include <time.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "lapi/rpc.h"
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_scalability.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <pthread.h> #include <time.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "lapi/rpc.h"
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_scalability.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <pthread.h> #include <time.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_complex.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "lapi/rpc.h"
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_scalability.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <pthread.h> #include <time.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_complex.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_dataint.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "lapi/rpc.h"
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_mt.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <pthread.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_scalability.c +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <pthread.h> #include <time.h> #include <errno.h>
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/rpc_svc_1.c +1 -0
@@ -26,6 +26,7 @@*/ #include <stdio.h> +#include <string.h> #include <rpc/rpc.h> #include <utmp.h>
Signature · 1 line
2.24.0
PATCH 3/3 rpc: Remove <sys/socketvar.h>
In reply to Petr Vorelnonstandard <sys/socketvar.h> just includes <sys/socket.h>.
This fixes build on musl.
--- .../rpc/rpc_createdestroy_svcraw_create/rpc_svcraw_create.c | 1 - .../rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create.c | 1 - .../rpc_createdestroy_svctcp_create/rpc_svctcp_create_stress.c | 1 - .../rpc_createdestroy_svcudp_bufcreate/rpc_svcudp_bufcreate.c | 1 - .../rpc/rpc_createdestroy_svcudp_create/rpc_svcudp_create.c | 1 - .../rpc_createdestroy_svcudp_create/rpc_svcudp_create_stress.c | 1 - .../rpc_suite/rpc/rpc_regunreg_registerrpc/rpc_registerrpc.c | 1 - .../rpc_suite/rpc/rpc_regunreg_svc_register/rpc_svc_register.c | 1 - .../rpc/rpc_regunreg_svc_unregister/rpc_svc_unregister.c | 1 - .../rpc_suite/rpc/rpc_regunreg_xprt_register/rpc_xprt_register.c | 1 - .../rpc/rpc_regunreg_xprt_unregister/rpc_xprt_unregister.c | 1 - 11 files changed, 11 deletions(-)
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/rpc_svcraw_create.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create_stress.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_bufcreate/rpc_svcudp_bufcreate.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/rpc_svcudp_create.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/rpc_svcudp_create_stress.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_registerrpc/rpc_registerrpc.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> #include <utmp.h> //Standard define
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_register/rpc_svc_register.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_unregister/rpc_svc_unregister.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_register/rpc_xprt_register.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_unregister/rpc_xprt_unregister.c +0 -1
@@ -31,7 +31,6 @@#include <rpc/rpc.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/socketvar.h> //Standard define #define PROCNUM 1
Signature · 1 line
2.24.0
cover musl: travis build and include fixes
In reply to Petr Vorelcover musl: travis build and include fixes
In reply to Petr Vorel----- Original Message -----
Quoted 6 lines
Hi,
although LTP not yet fully support musl, I'd like to add travis build via Alpine linux distro. Remaining broken tests are deleted before building, I volunteer to solve musl problems for new code.
Fine by me, we can always disable it later if we run into (too many) issues.
Quoted 1 line
I also added 2 simple RPC fixes.
LGTM. As for RHEL, socketvar.h appears to be unused for decade at least.
Regards,
Jan
cover musl: travis build and include fixes
Hi Jan,
Quoted 10 lines
Quoted 4 lines
although LTP not yet fully support musl, I'd like to add travis build via Alpine linux distro. Remaining broken tests are deleted before building, I volunteer to solve musl problems for new code.
Fine by me, we can always disable it later if we run into (too many) issues.
Quoted 1 line
I also added 2 simple RPC fixes.
LGTM. As for RHEL,
socketvar.happears to be unused for decade at least.
Thanks a lot for a review, merged.
Kind regards,
Petr