* check.sh: remove none as the way to disable check results
added -t to indicate that
* run_tests.sh: add -T to enable cfgt
don't call anything related to cfgt if not enabled
* bench.sh: enable cfgt if check type is all or cfgt
Change-Id: I4c13297b55503f99241cf5553c5deceba0f5bbf6
We are adding a new approach/tool used to check out SIP messages
received, and unlike the existing way of doing that (using what has come/gone in front of the Proxy),
the usage of sipp logs will be introduced.
The idea is that we are looking for received SIP messages at both
the originator(s) and recipient(s) side, and then using what we've gotten,
run checks based on _test.yml.tt2 templates prepared in advance for each scenario, example:
* sip_messages00_test.yml.tt2
* sip_messages_responder00_test.yml.tt2
- add missing options to help command
- bin/check.sh: use T option to select what to do with checks
- get_results.sh: remove deprecated -P -T options
Change-Id: I2d0084fa59694ffd009736205a092a35f6864669
This will allow to skip the whole provisioning if necessary
* use set_config.sh
* bin/check.sh: don't remove domain if SKIP is set
Change-Id: I0b2d165aced0ce7e57cfddef4c6308e8d7d27da6
* bin/config_debug.pl: use values from config.yml
* bin/network_config.pl: use values from config.yml
* bin/generate_test.pl: provide config.yml at "config" key
* bin/provide_scenario.sh: pass "config" option to generate_test.pl
Change-Id: I4ba62267b372b638f85dde62ecced6bd7d15c142
* check for dirs with a scenario.yml file
* remove some shellcheck warnings:
SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Change-Id: I88b48fcc9668c3be26755472d6001f630a341fca
* fix delete perm registration: subscriber needs to exists
move delete before deletion of domain
* bench.sh: obey PROFILE environment variable
* bin/config_debug.pl: set tcp for one of the extra_sockets
Change-Id: I4650058f22ffcac68fa44913e1b03ecf090c2f28
tool that reads info directly from scenario.yml
* check.sh: clean some shellcheck warnings
* bench.sh: fix group option
Change-Id: If736c42729e8fd32e964a5c9db7e47b289e916c8
* remove invite_conference_update media file, this has to be a link
* ngcpcfg apply executed outside /etc/ngcp-config seems to generate
.ngcpcfg_perms file in $pwd so adding a workaround to avoid it
* bench.sh: support selecting the GROUP scenario
* show_flow_diff.pl: improve the diff output adding the values of
the flows not only the names
Change-Id: I40db8433595168ce8d3ef061f77f02a1616ed980
http://www.gnu.org/software/bash/manual/bashref.html
The exit status of a pipeline is the exit status of the last command in
the pipeline, unless the pipefail option is enabled (see The Set Builtin).
If pipefail is enabled, the pipeline's return status is the value of the
last (rightmost) command to exit with a non-zero status, or zero if all
commands exit successfully.
Change-Id: I708c3a48084e97ab2fc6186dfdd666e7f5ab5ee6
* add -r by default
* allow selection of profile via option
* add and remove test config just once by default
Change-Id: I3894c0f338b79586da6fc3cdaace2594679fd38e
Fixing the test -z -n mess I notice
that ./run_test.sh needed a missing -J
for creating the initial KAM_DIR (cfgtest)
Change-Id: Ic0832c977657248852f5795cd35851f881299cf9