]> git.meshlink.io Git - meshlink/commit - test/blackbox/test_case_meta_conn_04
Add the blackbox container based test suite.
authorElear Solutions Dev <mail@elear.solutions>
Thu, 8 Nov 2018 20:01:10 +0000 (21:01 +0100)
committerGuus Sliepen <guus@meshlink.io>
Thu, 8 Nov 2018 21:23:53 +0000 (22:23 +0100)
commitdc68da94af8fca91748579c84ef5ed798db7efab
tree88429e036be0042560ecb25014aaaa389652deb7
parent1a7277c64d74ae5ae18c48ebe09a522ffe7c696b
Add the blackbox container based test suite.

This test suite uses LXC containers to simulate various nodes connected
to each other in different network topologies, and allows for realistic
testing of the MeshLink library.
129 files changed:
.gitignore
Makefile.am
configure.ac
test/.gitignore
test/Makefile.am
test/blackbox/.gitignore [new file with mode: 0644]
test/blackbox/Makefile.am [new file with mode: 0644]
test/blackbox/common/common_handlers.c [new file with mode: 0644]
test/blackbox/common/common_handlers.h [new file with mode: 0644]
test/blackbox/common/common_types.h [new file with mode: 0644]
test/blackbox/common/containers.c [new file with mode: 0644]
test/blackbox/common/containers.h [new file with mode: 0644]
test/blackbox/common/mesh_event_handler.c [new file with mode: 0644]
test/blackbox/common/mesh_event_handler.h [new file with mode: 0644]
test/blackbox/common/tcpdump.c [new file with mode: 0644]
test/blackbox/common/tcpdump.h [new file with mode: 0644]
test/blackbox/common/test_step.c [new file with mode: 0644]
test/blackbox/common/test_step.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/.gitignore [new file with mode: 0644]
test/blackbox/run_blackbox_tests/Makefile.am [new file with mode: 0644]
test/blackbox/run_blackbox_tests/execute_tests.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/execute_tests.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/run_blackbox_tests.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_add_addr.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_add_addr.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_add_ex_addr.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_add_ex_addr.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_blacklist.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_blacklist.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_close.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_close.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_conn.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_ex.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_ex.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_get_flags.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_get_flags.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_open.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_open.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_send.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_send.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_set_accept_cb.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_set_accept_cb.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_set_poll_cb.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_set_poll_cb.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_set_receive_cb.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_set_receive_cb.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_shutdown.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_channel_shutdown.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_default_blacklist.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_default_blacklist.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_destroy.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_destroy.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_export.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_export.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_all_nodes.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_all_nodes.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_ex_addr.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_ex_addr.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_node.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_node.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_port.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_port.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_self.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_get_self.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_hint_address.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_hint_address.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_import.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_import.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_invite.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_invite.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_join.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_join.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_open.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_open.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_pmtu.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_pmtu.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_rec_cb.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_rec_cb.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_send.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_send.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_set_log_cb.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_set_log_cb.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_set_port.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_set_port.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_sign.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_sign.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_start.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_start.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_status_cb.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_status_cb.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_stop_close.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_stop_close.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_verify.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_verify.h [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_whitelist.c [new file with mode: 0644]
test/blackbox/run_blackbox_tests/test_cases_whitelist.h [new file with mode: 0644]
test/blackbox/test_case_meta_conn_01/Makefile.am [new file with mode: 0644]
test/blackbox/test_case_meta_conn_01/node_sim_nut.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_01/node_sim_peer.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_01/node_sim_relay.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_02/Makefile.am [new file with mode: 0644]
test/blackbox/test_case_meta_conn_02/node_sim_nut.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_02/node_sim_peer.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_02/node_sim_relay.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_03/Makefile.am [new file with mode: 0644]
test/blackbox/test_case_meta_conn_03/node_sim_nut.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_03/node_sim_peer.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_03/node_sim_relay.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_04/Makefile.am [new file with mode: 0644]
test/blackbox/test_case_meta_conn_04/node_sim_nut.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_04/node_sim_peer.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_04/node_sim_relay.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_05/Makefile.am [new file with mode: 0644]
test/blackbox/test_case_meta_conn_05/node_sim_nut.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_05/node_sim_peer.c [new file with mode: 0644]
test/blackbox/test_case_meta_conn_05/node_sim_relay.c [new file with mode: 0644]
test/blackbox/util/build_container.sh [new file with mode: 0755]
test/blackbox/util/gen_invite.c [new file with mode: 0644]
test/blackbox/util/install_node_sim_copy.sh [new file with mode: 0755]
test/blackbox/util/lxc_copy_dir.sh [new file with mode: 0755]
test/blackbox/util/lxc_copy_file.sh [new file with mode: 0755]
test/blackbox/util/lxc_rename.sh [new file with mode: 0755]
test/blackbox/util/lxc_run.sh [new file with mode: 0755]
test/blackbox/util/node_step.sh [new file with mode: 0755]
test/run_blackbox_tests.sh [new file with mode: 0755]