The script move the kamailio json files from /tmp/cfgtest folder
to the log folder as stated in the README file. This is executed
at the end of each single test.
To be sure that the /tmp/cfgtest is in place, it creates the folder
before start the test and it deletes the folder afterwards.
Change-Id: I54426b4415898165c1c2ba8154d0761a869c85d4
This reverts commit 2d5434e723.
There are cases in which ngcp-panel is restarted and cases in which it
is not restarted, so this change is not valid.
Change-Id: If322af4ef0c54fb7ba437c42f846b794a55554c5
Recent versions of pep8 check for this, while we are modifying
system path to load functions from check.py. Since we need at
least the os and sys modules for modifying system path and being
able to run `from check import ...` let's ignore this problem for
now.
Change-Id: Ia9f3ea2c67c3a720896f1c92031544ac7e688025
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Update debian/.gitignore file.
Change-Id: I5a85036f0ceb3034732314d7678d971655683fbb
* addresses an issue with sems where it could not
play 12k rate original no_sh.wav
* sox no_sh.wav --type wav --bits 16 - rate 8k
Change-Id: Ic911d75b08fbea30545081d94945f3fd1823608f
* File::Slurp read_file() is changed to use a buffer.
That enables it to correctly read binary files.
Change-Id: I9d81016913ff3ae6f709ee23560090054c2adff4
Otherwise we cannot build kamailio-config-tests against Debian Stretch:
> Can't locate List/MoreUtils.pm in @INC (you may need to install the List::MoreUtils module)
> ... at bin/create_subscribers.pl line 28.
Change-Id: I609f91913a99f0591623f8e35b471c48c98ef456
These functions do internal error checks and will die on their own.
They return undef whenever the YAML file is empty, so we should not
abort on those.
Change-Id: Ifd61b98d3a95ee9b15ff240fbd5db0c1029c98e3
Fixes:
| given is experimental at bin/ulog_parser.pl line 151.
| when is experimental at bin/ulog_parser.pl line 153.
| when is experimental at bin/ulog_parser.pl line 154.
| push on reference is experimental at bin/ulog_parser.pl line 175.
| push on reference is experimental at bin/ulog_parser.pl line 215.
Change-Id: I2ac8dfa23c37e375e1d85f01dba666c5329ec3b4
sipwise-kamailio-config-tests-lnp failed:
> sipp: The following events occured:
> 2017-06-22 12:01:31.792835 1498125691.792835: SIPp now prefers looking for
> pcap files next to the scenario. scenarios_lnp/media181sec.pcap couldn't be
> found next to the scenario, falling back to using the current working directory.
Change-Id: I1a06b830a77c433e6ce0f22a338191a7f16d6dc8
devscripts is necessary for checkbashisms.
python is necessary for pythoncheck.
libconfig-tiny-perl, libhash-merge-perl, libyaml-libyaml-perl
are necessary for bin/create_lnp.pl.
liblist-allutils-perl is necessary for bin/create_subscribers.pl.
libtemplate-perl is necessary for bin/generate_test.pl.
libjson-perl + libgraphviz-perl are necessary for bin/graph_flow.pl
libtext-csv-perl is necessary for bin/scenario.pl
While at it update the runtime dependencies accordingly which
were identified with the syntaxchecks.
Change-Id: Ia60b215c5d97918457ea1b417477f204818b5eeb
This module is more compliant and it is faster than the pure perl
implementation. The latter is also deprecated in favor of the former
(see man YAML for more details).
Change-Id: I15240ac294476c0d9cc30e36e622adc7e07db136
* generate a link for every scenario on the fly if doesn't exist
* BASE_DIR has to be an absolute path
Change-Id: Ib50c641f127966b672646b8579d3a8b92bb76b55
- an additional ROUTE_APPLY_REWRITE_RULE can be called
during ROUTE_ACC_CALLER and ROUTE_ACC_CALLEE
Change-Id: If5d9e03e4c9b3fb9cf76207b67d4bb47c9d6aaa8
- Use canonical homepage URL.
- Bump debhelper compatibility to 9.
- Bump Standards-Version to 3.9.8.
- Wrap and sort debian/control fields.
- Add missing ${perl:Depends} substvar.
- Remove spurious spaces around version in dependency.
- Fix source package Section value.
- Update package description.
- Update copyright years.
- Merge all stanzas in debian/copyright as they are for the same.
- Move license location on filesystem into a Comment field.
- Remove unneeded debian/dirs file.
- Remove obsolete boilerplate from debian/rules.
Change-Id: I904a361c6c2ddb78d6280d0f3b94344ff364cafd