Renamed rpc-tirpc-full-test-suite to rpc-tirpc

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: renamed the test suite binaries

Using the following scheme:
  rpc_stdcall_callrpc/1-basic.c -> rpc_stdcall_callrpc/rpc_callrpc.c
  rpc_stdcall_callrpc/2-stress.c -> rpc_stdcall_callrpc/rpc_callrpc_stress.c

  tirpc_simple_rpc_broadcast/1-basic.c -> tirpc_rpc_broadcast.c
  tirpc_simple_rpc_broadcast/2-stress.c -> tirpc_rpc_broadcast_stress.c

The only exception is the clnt_call binaries in tirpc subdirectory.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Implemented autoconf check for libtirpc

This library is needed to build testcases/network/rpc/rpc-tirpc.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: do not use tst_exit

Since nothing from rpc-tirpc is linked to the LTP libraries,
we can't use tst_* functions there.

Use simple return instead.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: enabled building of the test binaries

rpc-tirpc test suite is built only if libtirpc is present on
the host.

We link each binary with -ltirpc, because libtirpc is pretty mature now.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Removed run_rpc_tests.sh from runtest/rpc, runtest/stress.part3

Building of the rpt-tirpc test suite depends on the libtirpc availability,
but runtest/rpc and runtest/stress.part3 contain only test cases, which
are built by default.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: fixed the cleaner binaries

Renamed cleaner.c.src to tirpc_cleaner.c (to make it build).

For consistency added rpc_cleaner.c, which utilise only TS-RPC
functions.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: implemented a wrapper

Implemented a single wrapper script which can be used
to execute _most_ of the rpc-tirpc test binaries.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
runtest files for rpc-tirpc basic test cases

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: increased the timeout value for the rpc test cases

The modified binaries use a low value for timeout - 100 ms.
Because of this in my environment these test cases fail.

I think it's not a problem if we just increase the timeout to 1 sec.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: fixes for the rpc_svc_getargs, rpc_svc_sendreply binaries

These tests originally had this logic:
1) start server
2) start client
3) check the exit code of rpc_svc_getargs (the server terminates)

This is not 100% suitable for the new wrapper, because
we only look for the client exit code, ignoring the server one.

This patch makes the client exit code to represent the entire test status.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: fixed timeout values for some of the tirpc tests

The same way as it was done for the rpc tests.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Removed runtest/rpctirpc and runtest/tirpc

These files are useless now. We should use:
 * runtest/rpc_tests - for TS-RPC
 * runtest/tirpc_tests - for TI-RPC
instead.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: removed legacy scripts and updated README

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>