system-tester checks that logs have '0640' permissions and 'adm' group.
So we must preserve attributes during logs backup/restore procedure.
Change-Id: I02ec4cc10daa50ee85256259088507caa82741b3
The command
rtpengine-ctl -ip "${rtpengine_ctl_ip}" list interfaces
is used to check the number of rtp ports still open on the system
Change-Id: Id0e48aaf1f354cecf153db8102a5b5635e073287
* We want to be able to execute the tests with more than one
kamailio.proxy.process. So, don't set any value and added
the option to change it
Change-Id: I6fcf1af13b90341e85c784b2570565d52afb11f0
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
A new start and return from ROUTE_PREPARE_CALLER_CLI route
is necessary because of the outbound_pai_display preference check
Change-Id: Idef80c761fe881e3e78a52fbed1add7fcd6ccf1c
Helps to execute manually the tests. So run_tests.sh can be
called several times with -C options, skipping the config
* wrap-and-sort -sat
Change-Id: Id1426234a8fce3f0592016e2361d40ce256390af
* OPTIONS and SUBSCRIBE messages now use a different call_id
in order to don't be intercepted by the cfgt module and don't
create random packet ordering
* scenarios yml file reordering due to the removing of
OPTIONS and SUBSCRIBE messages
Change-Id: Ia804aca8d096bb949f5c35f8a81bc7d58f8bb9b4
* add -r by default
* allow selection of profile via option
* add and remove test config just once by default
Change-Id: I3894c0f338b79586da6fc3cdaace2594679fd38e
In case of sipp errors bin/check.sh was aborted without moving
the scenario_ids.yml, moving the json files and cleaning the
scenario's data if required.
Change-Id: Ibb1b5c1874476ff2f483488670f8c3953c38c58f
Call cfgt.clean RCP function at the end of the scenario execution
only if the json files were actually moved (SKIP_MOVE_JSON_KAM
not set). Otherwise the result will be to don't have any json
file generated.
Change-Id: I97f2b00516a8975c050f97a7ffecb47b2dceecd3
The option is triggered by run_tests.sh because it is already
taking care of the json file movement at the end of the scenarios
execution.
Change-Id: Ie609237b46c54734dc25f093351c89138a70d8f9
After JSON_KAM was enabled by default in commit 8618aa8 we lost
the possibility to disable it if necessary.
The option -J of bin/check.sh script now do the opposite: it is
used to disable JSON_KAM preference. Due to this change, the -J has
been removed from the script call in get_results.sh
Change-Id: I8ccc9d832ba808c72494dc27526e66ceff802a95
* This allows to run the same scenario without having to restart
kamailio-proxy every time
* set JSON_KAM as default
Change-Id: I0948095e318fa0220c16adfc52e124a9e6c35c67
The ROUTE_DROP has been anticipated in the kamailio config, therefore
the scenario needed a small rework.
Change-Id: I41ad18756a31a2953c4790ed7636ff3773081954
After the fix to the NCOS checks in case of LNP re-routing number
was used, the test scenarios should be update accordingly.
Change-Id: I71aa3989c88006225f112009da1d944309b7f4fc