Mikko Lehto 1d5d36556e test/unit: use sh instead of bash in unit test 5 8 năm trước cách đây
..
include 3dff189e33 test/unit: fix unit test 33 8 năm trước cách đây
1.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
10.sh 915efd3bfc test/unit: fix bashism - use `.` instead of `source` and use regular syntax files 8 năm trước cách đây
11.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
11.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
12.cfg 0cea8fe102 test/unit: update unit test 12 8 năm trước cách đây
12.sh 0cea8fe102 test/unit: update unit test 12 8 năm trước cách đây
13.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
13.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
14.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
14.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
15.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
16.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
17.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
18.sh b5e37ea509 test/unit: update unit test 18 8 năm trước cách đây
19.cfg 4ad8091da6 test/unit: update unit test 19 8 năm trước cách đây
19.sh 4ad8091da6 test/unit: update unit test 19 8 năm trước cách đây
2.cfg 9aacde2917 test/unit: update unit test 2 & 4 8 năm trước cách đây
2.sh 9aacde2917 test/unit: update unit test 2 & 4 8 năm trước cách đây
20.cfg 25c4d4f32a test/unit: update unit test 20 8 năm trước cách đây
20.sh 25c4d4f32a test/unit: update unit test 20 8 năm trước cách đây
21.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
21.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
22.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
22.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
23.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
24.sh 915efd3bfc test/unit: fix bashism - use `.` instead of `source` and use regular syntax files 8 năm trước cách đây
25.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
25.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
26.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
26.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
27.sh ff6ce3bb0b test/unit: update unit test 27 8 năm trước cách đây
28.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
28.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
29.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
3.sh 915efd3bfc test/unit: fix bashism - use `.` instead of `source` and use regular syntax files 8 năm trước cách đây
30.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
30.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
31.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
32.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
33.cfg 3dff189e33 test/unit: fix unit test 33 8 năm trước cách đây
33.sh 3dff189e33 test/unit: fix unit test 33 8 năm trước cách đây
34.cfg f31d36e311 test/unit: update unit test 34 8 năm trước cách đây
34.sh f31d36e311 test/unit: update unit test 34 8 năm trước cách đây
35.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
35.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
36.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
37.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
38.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
39.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
4.sh 9aacde2917 test/unit: update unit test 2 & 4 8 năm trước cách đây
40.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
40.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
41.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
41.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
42.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
43.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
44.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
45.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
45.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
46.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
5.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
5.sh 1d5d36556e test/unit: use sh instead of bash in unit test 5 8 năm trước cách đây
50.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
50.sh 31923e56ff test/unit: avoid killall 8 năm trước cách đây
6.sh 915efd3bfc test/unit: fix bashism - use `.` instead of `source` and use regular syntax files 8 năm trước cách đây
60-message-sdp0.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 năm trước cách đây
60-message-sdp1.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 năm trước cách đây
60-message-sdp2.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 năm trước cách đây
60-message-sdp3.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 năm trước cách đây
60-message-sdp4.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 năm trước cách đây
60-message-sdp5.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 năm trước cách đây
60-message-sdp6.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 năm trước cách đây
60-message-sdp7.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 năm trước cách đây
60-message-sdp8.sip 1fe1769d15 test/unit: update unit 60 9 năm trước cách đây
60-message-sdp9.sip 8d4c2e4190 test/unit: update unit test 60 9 năm trước cách đây
60.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
60.sh 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
61-message-sdp.sip 892ab2737c test/unit: create unit test 61 8 năm trước cách đây
61.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
61.sh 2f58816d29 test/unit: use directory variables in test runner scripts 8 năm trước cách đây
7.cfg fe4c56f5c0 test/unit: update unit test 7 8 năm trước cách đây
7.sh fe4c56f5c0 test/unit: update unit test 7 8 năm trước cách đây
8.sh 915efd3bfc test/unit: fix bashism - use `.` instead of `source` and use regular syntax files 8 năm trước cách đây
9.sh 915efd3bfc test/unit: fix bashism - use `.` instead of `source` and use regular syntax files 8 năm trước cách đây
Makefile d1dc674173 test/unit: Add TESTS vars to control wich tests to exec and exit with error if one fails 10 năm trước cách đây
README c218087393 test/unit: Add Sipsak URL in README 11 năm trước cách đây
carrierroute-2.cfg a42f984574 - fix postgres cpl test name 17 năm trước cách đây
carrierroute.cfg 676425728b - some cleanup in existing tests 18 năm trước cách đây
cpl_ignore.xml 07080c8ad2 - rename presence test 17 năm trước cách đây
cpl_test.xml 07080c8ad2 - rename presence test 17 năm trước cách đây
failure_route.xml de8ca6197a - extend cr test with actual failure routes 17 năm trước cách đây
inv_auth.xml 7611536475 - extend test 21 to INVITEs, add more tests for uri_db 17 năm trước cách đây
invite.sip 6d262e666a - add missing file for registrar test (11) 17 năm trước cách đây
presence.cfg ff6ce3bb0b test/unit: update unit test 27 8 năm trước cách đây
publish.csv 8ce632822b - added tests for presence 17 năm trước cách đây
publish_scenario.xml 8ce632822b - added tests for presence 17 năm trước cách đây
reg_auth.xml 7611536475 - extend test 21 to INVITEs, add more tests for uri_db 17 năm trước cách đây
register.sip 29f416a4f3 - commit missing SIP test messages 18 năm trước cách đây
route-empty.cfg 4bfc11009d test/unit: use SRC_DIR to point to kamailio source and updated tests 4, 5, 6 11 năm trước cách đây
subscribe_notify.csv 8ce632822b - added tests for presence 17 năm trước cách đây
subscribe_notify_scenario.xml 8ce632822b - added tests for presence 17 năm trước cách đây
unregister.sip 29f416a4f3 - commit missing SIP test messages 18 năm trước cách đây

README

Kamailio Test Unit
==================

This directory contains some small "smoke tests", that should assure that
basic functionality of the server work as required. This tests should consists
of one shell script and a config file if needed. They should not need much time
for execution, to allow the run of the complete test suite in a few seconds.

All test scripts must be self-contained, should not have external dependencies
and must clean up after they are run. The second line in each scripts should
contain a small comment that describe the task of the test, it should not
output any messages on successful runs.

This tests should (in the current state) only run by developers who know
what they do. They could delete your database, produce core dumps that fill
your harddisk or do other nasty things..

Dependencies
------------

External tools needed by some test units:

- SIPP (http://sipp.sourceforge.net)
- SIPSAK (https://github.com/nils-ohlmeier/sipsak)

Usage
-----

To execute all unit tests, run:

make all

To run a specific unit test, run:

make run UNIT=scripname

Scriptname is the name of shell file to execute, for example:

make run UNIT=1.sh