We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.
Difference between revisions of "E1.33 SLP SA Tests"
From wiki.openlighting.org
(Created page with "As E1.33 (RDMNet) draws closer, I thought it would be good to start releasing some testing tools. The first of these are some simple tests to check a RDMNet device's SLP SA …") |
(No difference)
|
Revision as of 09:30, 5 February 2013
As E1.33 (RDMNet) draws closer, I thought it would be good to start releasing some testing tools. The first of these are some simple tests to check a RDMNet device's SLP SA implementation. The SLP RFC can be rather hard to read so I build up a set of tests to check a variety of corner cases.
The test program is part of OLA and can be found in tools/slp . It isn't included in the binary packages so you'll need to build from tarball or a git clone.
Running the tests
Running the test is as easy as passing the IP Address and (optional) port of the host to test. For example:
./slp_sa_test 192.168.10.80
The default port is 427, you can change it with:
./slp_sa_test 192.168.10.80:5570
Restricting the set of tests to run
You can get a list of all test cases with
./slp_sa_test --list
You can then restrict which tests to run:
./slp_sa_test 0 --tests CaseSensitiveScopeSrvRqstTest 192.168.10.80
Limitations
Right now the tests don't cover any DA interactions. I'll try to add this in a future release.