mbox series

[RFC,V2,0/2] selinux-testsuite: Run tests using remote server

Message ID 20200826124054.26302-1-richard_c_haines@btinternet.com (mailing list archive)
Headers show
Series selinux-testsuite: Run tests using remote server | expand

Message

Richard Haines Aug. 26, 2020, 12:40 p.m. UTC
These patches have been tested on Fedora 31/32 WS and can be used to
test the 'Update SCTP asconf client/server' patch [1] (that must be
installed first).

See README.md - 'Remote System Testing' section on how to configure the
test servers.

Would these be a useful inclusion in the selinux-testsuite !!

[1] https://lore.kernel.org/selinux/20200826123719.26121-1-richard_c_haines@btinternet.com/

Richard Haines (2):
  selinux-testsuite: Run tests using remote server
  selinux-testsuite: Run SCTP tests using remote server

 README.md                                     | 156 ++++
 policy/test_inet_socket.te                    |   2 +
 policy/test_sctp.te                           |   3 +
 tests/inet_socket/calipso-load                |   3 +-
 tests/inet_socket/cipso-fl-load               |   2 +-
 .../inet_socket/{cipso-load-t1 => cipso-load} |   4 +-
 tests/inet_socket/cipso-load-t2               |  11 -
 tests/inet_socket/cipso-load-t5               |  11 -
 tests/inet_socket/ipsec-load                  |  22 +-
 tests/inet_socket/start_remote_svr            |   4 +
 tests/inet_socket/stop_remote_svr             |   3 +
 tests/inet_socket/test                        | 436 ++++++++---
 tests/sctp/calipso-load                       |   2 +-
 tests/sctp/{cipso-load-t2 => cipso-load}      |   4 +-
 tests/sctp/cipso-load-t1                      |   7 -
 tests/sctp/cipso-load-t5                      |   7 -
 tests/sctp/start_remote_svr                   |   4 +
 tests/sctp/stop_remote_svr                    |   3 +
 tests/sctp/test                               | 706 +++++++++++++-----
 tools/remote.sh                               | 121 +++
 tools/remote_cfg/client_cmds.sh               |  20 +
 tools/remote_cfg/remote.cfg                   |  22 +
 tools/remote_cfg/server_cmds.sh               |  13 +
 23 files changed, 1255 insertions(+), 311 deletions(-)
 rename tests/inet_socket/{cipso-load-t1 => cipso-load} (72%)
 delete mode 100644 tests/inet_socket/cipso-load-t2
 delete mode 100644 tests/inet_socket/cipso-load-t5
 create mode 100644 tests/inet_socket/start_remote_svr
 create mode 100644 tests/inet_socket/stop_remote_svr
 rename tests/sctp/{cipso-load-t2 => cipso-load} (58%)
 delete mode 100644 tests/sctp/cipso-load-t1
 delete mode 100644 tests/sctp/cipso-load-t5
 create mode 100644 tests/sctp/start_remote_svr
 create mode 100644 tests/sctp/stop_remote_svr
 create mode 100755 tools/remote.sh
 create mode 100755 tools/remote_cfg/client_cmds.sh
 create mode 100644 tools/remote_cfg/remote.cfg
 create mode 100755 tools/remote_cfg/server_cmds.sh